forked from 4ARMED/kubeletmein
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Oops, add openssl to final image, not build image
- Loading branch information
1 parent
c5c10bf
commit f417ffd
Showing
1 changed file
with
4 additions
and
2 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 |
---|---|---|
|
@@ -2,8 +2,7 @@ FROM golang:alpine AS build | |
|
||
RUN apk add --no-cache \ | ||
git \ | ||
curl \ | ||
openssl | ||
curl | ||
|
||
RUN mkdir -p /out/usr/local/bin | ||
|
||
|
@@ -21,6 +20,9 @@ RUN curl -sL https://storage.googleapis.com/kubernetes-release/release/$(curl -s | |
FROM google/cloud-sdk:alpine | ||
LABEL maintainer="Marc Wickenden <[email protected]>" | ||
|
||
RUN apk add --no-cache \ | ||
openssl | ||
|
||
RUN addgroup -S app && adduser -S app -G app | ||
|
||
COPY --from=build /out / | ||
|