Skip to content

Commit

Permalink
fix: Correctly report version. Fixes #2374 (#2402)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec authored Mar 10, 2020
1 parent e19a398 commit 068a433
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Prevent vendor directory from being copied to ensure we are not not pulling unexpected cruft from
# a user's workspace, and are only building off of what is locked by dep.
.git
.idea
assets
coverage.out
Expand Down
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,8 @@ FROM builder as argo-build
# Perform the build
WORKDIR /go/src/github.com/argoproj/argo
COPY . .
# stop the annoying git related error messages
RUN git init
RUN git remote add origin https://github.com/argoproj/argo.git
RUN git fetch --no-tags --depth=1 origin
# check we can use Git
RUN git rev-parse HEAD
COPY --from=argo-ui node_modules ui/node_modules
RUN mkdir -p ui/dist
COPY --from=argo-ui dist/app ui/dist/app
Expand Down

0 comments on commit 068a433

Please sign in to comment.