Skip to content

Commit

Permalink
Merge pull request #44 from degenerat3/crater-dev
Browse files Browse the repository at this point in the history
fix workdir and mod tidy
  • Loading branch information
degenerat3 authored Feb 18, 2021
2 parents 49fb7be + 63d7930 commit 79e92a1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ FROM golang
#Install git
RUN apt-get update; apt-get install -y git
RUN mkdir -p /go/src/github.com/degenerat3/
RUN cd /go/src/github.com/degenerat3; git clone https://github.com/degenerat3/meteor; cd meteor;
RUN cd /go/src/github.com/degenerat3; git clone https://github.com/degenerat3/meteor;
WORKDIR /go/src/github.com/degenerat3/meteor
RUN go mod tidy
RUN cd /go/src/github.com/degenerat3/meteor/core; CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o core .

Expand Down
3 changes: 2 additions & 1 deletion listeners/cera/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ FROM golang
#Install git
RUN apt-get update; apt-get install -y git
RUN mkdir -p /go/src/github.com/degenerat3/
RUN cd /go/src/github.com/degenerat3; git clone https://github.com/degenerat3/meteor; cd meteor;
RUN cd /go/src/github.com/degenerat3; git clone https://github.com/degenerat3/meteor;
WORKDIR /go/src/github.com/degenerat3/meteor
RUN go mod tidy
RUN cd /go/src/github.com/degenerat3/meteor/listeners/cera; CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o cera .
#COPY /go/src/github.com/degenerat3/meteor/listeners/cera/cera /app/cera_listener
3 changes: 2 additions & 1 deletion listeners/daddy_tops/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ FROM golang
#Install git
RUN apt-get update; apt-get install -y git
RUN mkdir -p /go/src/github.com/degenerat3/
RUN cd /go/src/github.com/degenerat3; git clone https://github.com/degenerat3/meteor; cd meteor;
RUN cd /go/src/github.com/degenerat3; git clone https://github.com/degenerat3/meteor;
WORKDIR /go/src/github.com/degenerat3/meteor
RUN go mod tidy
RUN cd /go/src/github.com/degenerat3/meteor/listeners/daddy_tops; CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o daddy_tops .

Expand Down
3 changes: 2 additions & 1 deletion listeners/little_foot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ FROM golang
#Install git
RUN apt-get update; apt-get install -y git
RUN mkdir -p /go/src/github.com/degenerat3/
RUN cd /go/src/github.com/degenerat3; git clone https://github.com/degenerat3/meteor; cd meteor;
RUN cd /go/src/github.com/degenerat3; git clone https://github.com/degenerat3/meteor;
WORKDIR /go/src/github.com/degenerat3/meteor
RUN go mod tidy
RUN cd /go/src/github.com/degenerat3/meteor/listeners/little_foot; CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o little_foot .

Expand Down
3 changes: 2 additions & 1 deletion listeners/nest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ FROM golang
RUN apt-get update; apt-get install -y git
RUN mkdir -p /go/src/github.com/degenerat3/
RUN mkdir -p /hostedfiles/dt/
RUN cd /go/src/github.com/degenerat3; git clone https://github.com/degenerat3/meteor; cd meteor;
RUN cd /go/src/github.com/degenerat3; git clone https://github.com/degenerat3/meteor;
WORKDIR /go/src/github.com/degenerat3/meteor
RUN go mod tidy
RUN go install github.com/degenerat3/meteor/listeners/nest

Expand Down
3 changes: 2 additions & 1 deletion listeners/petrie/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ FROM golang
#Install git
RUN apt-get update; apt-get install -y git
RUN mkdir -p /go/src/github.com/degenerat3/
RUN cd /go/src/github.com/degenerat3; git clone https://github.com/degenerat3/meteor; cd meteor;
RUN cd /go/src/github.com/degenerat3; git clone https://github.com/degenerat3/meteor;
WORKDIR /go/src/github.com/degenerat3/meteor
RUN go mod tidy
RUN cd /go/src/github.com/degenerat3/meteor/listeners/petrie; CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o petrie .

Expand Down

0 comments on commit 79e92a1

Please sign in to comment.