Skip to content
Permalink
Browse files

v0.2.0

  • Loading branch information
chanshik committed Oct 15, 2019
1 parent 5b2a994 commit 226bc382164c07a3aab025851617a8074cc83c6c
Showing 905 changed files with 7,333 additions and 604,131 deletions.
@@ -0,0 +1,16 @@
FROM golang:1.13 AS builder
ADD . /app/nexagent
WORKDIR /app/nexagent

RUN go mod download
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o /nexagent ./cmd/nexagent/


FROM alpine:latest
RUN apk update && apk --no-cache add ca-certificates docker
RUN mkdir -p /app/conf
ADD ./cmd/nexagent/conf /app/conf
COPY --from=builder /nexagent /app/nexagent

RUN chmod +x /app/nexagent
ENTRYPOINT ["/app/nexagent"]
@@ -0,0 +1,17 @@
FROM golang:1.13 AS builder
ADD . /app/nexserver
WORKDIR /app/nexserver

RUN go mod download
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o /nexserver ./cmd/nexserver/


FROM alpine:latest
RUN apk --no-cache add ca-certificates
RUN mkdir -p /app/conf
ADD ./cmd/nexserver/conf /app/conf
COPY --from=builder /nexserver /app/nexserver

RUN chmod +x /app/nexserver
ENTRYPOINT ["/app/nexserver"]
EXPOSE 18000

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 226bc38

Please sign in to comment.
You can’t perform that action at this time.