Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
M core files
Browse files Browse the repository at this point in the history
  • Loading branch information
abdfnx committed Jan 12, 2021
1 parent b51ada2 commit 2fc94cd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ image:
file: Dockerfile

tasks:
- init: git config pull.ff only && cd core && go get
command: go build
- init: git config pull.ff only && cd core && go get && cd ..
command: go build

vscode:
extensions:
Expand Down
3 changes: 0 additions & 3 deletions .theia/settings.json

This file was deleted.

13 changes: 9 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
# The reason of choosing gitpod/workspace-full, Because it contains everything, like brew, apt, npm
# The reason of choosing gitpod/workspace-full, Because it contains everything, like brew, apt/apt-get, npm
FROM gitpod/workspace-full

WORKDIR ../
# curl & wget

# pkgs
ARG PKGS="curl wget"
ARG GITHUB_URL="https://raw.githubusercontent.com"

RUN sudo apt-get update
RUN sudo apt-get install $PKGS -y
RUN brew install dep
RUN sudo apt-get update

# install cli apps (gh, corgit, manx, verx)
RUN brew install gh
RUN /bin/bash -c "$(curl -fsSL $GITHUB_URL/Dev-x-Team/corgit/main/setup)"
RUN npm i -g @abdfnx/manx
RUN /bin/bash -c "$(curl -fsSL $GITHUB_URL/abdfnx/verx/HEAD/install.sh)"
RUN sudo apt-get update

# zsh
RUN brew install zsh

# secman
RUN /bin/bash -c "$(curl -fsSL $GITHUB_URL/abdfnx/secman/HEAD/packages/install_linux.sh)"
RUN sudo apt-get update

WORKDIR /core
2 changes: 1 addition & 1 deletion signin/signin.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
)

func auth() {
func Auth() {
cmd := exec.Command("gh", "auth", "login")
stdout, err := cmd.Output()

Expand Down

0 comments on commit 2fc94cd

Please sign in to comment.