-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AWS CLI v2 is not compatible with Alpine Linux due to the glibc depe…
…ndency, so change based image and better logging
- Loading branch information
1 parent
b84c422
commit d824334
Showing
4 changed files
with
90 additions
and
89 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 |
---|---|---|
@@ -1,13 +1,11 @@ | ||
FROM alpine:3.15 as alpine | ||
RUN apk add -U --no-cache ca-certificates | ||
FROM debian:buster-slim | ||
|
||
FROM alpine:3.15 | ||
ENV GODEBUG netdns=go | ||
|
||
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ | ||
|
||
# Install required packages | ||
RUN apk add --no-cache unzip groff curl | ||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends ca-certificates unzip groff curl sudo && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
ADD release/linux/amd64/plugin /bin/ | ||
ENTRYPOINT ["/bin/plugin"] |
This file was deleted.
Oops, something went wrong.
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,13 +1,11 @@ | ||
FROM alpine:3.6 as alpine | ||
RUN apk add -U --no-cache ca-certificates | ||
FROM debian:buster-slim | ||
|
||
FROM alpine:3.6 | ||
ENV GODEBUG netdns=go | ||
|
||
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ | ||
|
||
# Install required packages | ||
RUN apk add --no-cache unzip groff curl | ||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends ca-certificates unzip groff curl sudo && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
ADD release/linux/arm64/plugin /bin/ | ||
ENTRYPOINT ["/bin/plugin"] | ||
ENTRYPOINT ["/bin/plugin"] |
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