Skip to content

Commit

Permalink
build: Use alpine as the base image for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
felipebz committed Jan 16, 2023
1 parent a54d2d6 commit 636db42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build/
source-test/
.gradle/
!build/distributions/zpa-cli-*.tar
!build/jreleaser/assemble/zpa-cli/jlink/zpa-cli-*-linux-x86_64.tar.gz
!build/jreleaser/assemble/zpa-cli/jlink/zpa-cli-*-linux_musl-x86_64.tar.gz
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu:latest
FROM alpine:latest

ADD build/jreleaser/assemble/zpa-cli/jlink/zpa-cli-*-linux-x86_64.tar.gz /opt/
ADD build/jreleaser/assemble/zpa-cli/jlink/zpa-cli-*-linux_musl-x86_64.tar.gz /opt/

RUN mv /opt/zpa-cli-*/ /opt/zpa-cli/

Expand Down

0 comments on commit 636db42

Please sign in to comment.