Update the Dockerfile to account for static builds
This commit is contained in:
parent
714f9ecf6e
commit
863f195066
@ -1,7 +1,5 @@
|
||||
FROM golang:1.12
|
||||
FROM alpine
|
||||
|
||||
COPY . /go/airshipctl
|
||||
COPY /bin/airshipctl /bin/airshipctl
|
||||
|
||||
WORKDIR /go/airshipctl
|
||||
|
||||
CMD go install && airshipctl version
|
||||
CMD airshipctl help
|
||||
|
Loading…
Reference in New Issue
Block a user