-
Notifications
You must be signed in to change notification settings - Fork 440
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Update Dockerfile.dapper to install Go 1.12, separate go gets for better image layer caching 2. replace ubuntu image with simple alpine base image 3. add linker flag -w for smaller binary 4. gitignore some generated files
- Loading branch information
1 parent
6c8a86c
commit 6af86e3
Showing
4 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,7 @@ | |
|
||
# Output of the go coverage tool, specifically when used with LiteIDE | ||
*.out | ||
|
||
*dapper* | ||
!Dockerfile.dapper | ||
bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
FROM ubuntu:16.04 | ||
FROM alpine:latest | ||
|
||
RUN apt-get update && apt-get install -y curl vim nfs-common iproute dnsutils iputils-ping telnet | ||
COPY bin /bin | ||
|
||
COPY bin /usr/local/sbin/ | ||
|
||
VOLUME /usr/local/sbin | ||
CMD ["local-path-provisioner"] | ||
ENTRYPOINT ["/bin/local-path-provisioner"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters