Skip to content

Commit

Permalink
Next attempt to integrate the version into the build
Browse files Browse the repository at this point in the history
  • Loading branch information
lucky-lusa committed Aug 13, 2021
1 parent 1238e2e commit 5e8d1d7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docker/Eps.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ RUN bash
RUN mkdir -p /go/src /go/bin && chmod -R 777 /go
ENV GOPATH /go
ENV PATH /go/bin:$PATH
ENV VERSION $VERSION
ARG VERSION
ENV VERSION=$VERSION
RUN echo $VERSION
WORKDIR /app
COPY . .
RUN make
Expand Down
3 changes: 3 additions & 0 deletions docker/InternalServer.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ 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 examples
Expand Down
4 changes: 3 additions & 1 deletion docker/Proxy.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ RUN bash
RUN mkdir -p /go/src /go/bin && chmod -R 777 /go
ENV GOPATH /go
ENV PATH /go/bin:$PATH
ENV VERSION $VERSION
ARG VERSION
ENV VERSION=$VERSION
RUN echo $VERSION
WORKDIR /app
COPY . .
RUN make
Expand Down
4 changes: 3 additions & 1 deletion docker/Sd.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ RUN bash
RUN mkdir -p /go/src /go/bin && chmod -R 777 /go
ENV GOPATH /go
ENV PATH /go/bin:$PATH
ENV VERSION $VERSION
ARG VERSION
ENV VERSION=$VERSION
RUN echo $VERSION
WORKDIR /app
COPY . .
RUN make
Expand Down

0 comments on commit 5e8d1d7

Please sign in to comment.