Skip to content

Commit

Permalink
Merge pull request #174 from macedogm/security-version-bumps
Browse files Browse the repository at this point in the history
Version bump for Alpine and Kubectl
  • Loading branch information
macedogm authored Jun 28, 2024
2 parents 3bf716f + 7e29451 commit 7b85001
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM alpine:3.18.3
FROM alpine:3.18
COPY bin/rancher-system-agent /usr/bin/
CMD ["rancher-system-agent"]
7 changes: 4 additions & 3 deletions package/Dockerfile.suc
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
ARG ALPINE=alpine:3.18.3
ARG ALPINE=alpine:3.18
FROM ${ALPINE} as kubectl
ENV KUBECTL_VERSION v1.27.10
RUN apk add -U curl
RUN ARCH=$(uname -m) && \
if [ "$ARCH" = "x86_64" ]; then ARCH=amd64; fi && \
if [ "$ARCH" = "aarch64" ]; then ARCH=arm64; fi && \
curl -L -f -o /usr/bin/kubectl https://dl.k8s.io/release/v1.24.0/bin/linux/${ARCH}/kubectl && \
curl -L -f -o /usr/bin/kubectl https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/${ARCH}/kubectl && \
chmod +x /usr/bin/kubectl
RUN /usr/bin/kubectl version --client

ARG ALPINE=alpine:3.18.3
ARG ALPINE=alpine:3.18
FROM ${ALPINE}

RUN mkdir /opt/rancher-system-agent-suc
Expand Down

0 comments on commit 7b85001

Please sign in to comment.