Skip to content

Commit

Permalink
Merge pull request #14 from evgkrsk/update-packages
Browse files Browse the repository at this point in the history
Update vulnerable packages, update to kubectl-1.23.4, werf-1.2.59
  • Loading branch information
evgkrsk authored Feb 23, 2022
2 parents a230345 + c4f5b8a commit f0452b0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,23 @@ FROM alpine:3.15

# Working packages
ENV PACKAGES curl bash file jq vault upx git gettext
# Update packages to close vulns:
ENV VULN_PACKAGES expat

RUN apk add -u --no-cache $PACKAGES $VULN_PACKAGES && \
RUN apk upgrade --update-cache --no-cache && \
apk add --no-cache $PACKAGES && \
rm -rf /var/cache/apk/ && \
upx -9 /usr/sbin/vault && \
:

# https://storage.googleapis.com/kubernetes-release/release/stable.txt
ENV KUBECTL_VERSION 1.23.3
ENV KUBECTL_VERSION 1.23.4
RUN set -ex && \
curl -sSL https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl && \
chmod +x /usr/local/bin/kubectl && \
upx -9 /usr/local/bin/kubectl && \
:

# rock-solid 1.2 channel: https://raw.githubusercontent.com/werf/werf/multiwerf/trdl_channels.yaml
ENV WERF_VERSION 1.2.57
ENV WERF_VERSION 1.2.59
ENV WERF_HELM3_MODE 1
RUN set -ex && \
curl -sSL "https://tuf.werf.io/targets/releases/$WERF_VERSION/linux-amd64/bin/werf" -o /usr/local/bin/werf && \
Expand Down

0 comments on commit f0452b0

Please sign in to comment.