Skip to content

Commit

Permalink
fix: Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
xmapst committed May 20, 2022
1 parent 4270bb0 commit 9294601
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ RUN go install github.com/swaggo/swag/cmd/swag@latest \
-X 'github.com/xmapst/kubefilebrowser.GitUrl=${GIT_URL}' \
-X 'github.com/xmapst/kubefilebrowser.GitBranch=${GIT_BRANCH}' \
-X 'github.com/xmapst/kubefilebrowser.GitCommit=${GIT_COMMIT}' \
-X 'github.com/xmapst/kubefilebrowser.BuildTime=${BUILD_TIME}'" -o main cmd/server/main.go \
&& strip --strip-unneeded main \
&& upx --lzma main
-X 'github.com/xmapst/kubefilebrowser.BuildTime=${BUILD_TIME}'" -o main cmd/server/main.go

#1 ----------------------------
FROM alpine:latest
Expand Down

0 comments on commit 9294601

Please sign in to comment.