Skip to content

Commit

Permalink
removed xd command from dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lucky-lusa committed Aug 13, 2021
1 parent af188c7 commit 56faa0a
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions docker/Eps.dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
FROM golang:1.16.3-alpine3.13 as builder
RUN apk add --update make && apk add --update openssl
RUN apk add --update bash
RUN bash --version
RUN bash
RUN mkdir -p /go/src /go/bin && chmod -R 777 /go
ENV GOPATH /go
ENV PATH /go/bin:$PATH
ARG VERSION
ENV VERSION=$VERSION
RUN echo $VERSION
WORKDIR /app
COPY . .
RUN make

FROM alpine:latest
WORKDIR /app
COPY --from=builder /go/bin/eps /app/eps
ENTRYPOINT ["./eps"]
FROM golang:1.16.3-alpine3.13 as builder
RUN apk add --update make && apk add --update openssl
RUN apk add --update bash
RUN bash --version
RUN bash
RUN mkdir -p /go/src /go/bin && chmod -R 777 /go
ENV GOPATH /go
ENV PATH /go/bin:$PATH
ARG VERSION
ENV VERSION=$VERSION
RUN echo $VERSION
WORKDIR /app
COPY . .
RUN make

FROM alpine:latest
WORKDIR /app
COPY --from=builder /go/bin/eps /app/eps
ENTRYPOINT ["./eps"]

0 comments on commit 56faa0a

Please sign in to comment.