Skip to content

Commit

Permalink
fix: Update base image to Wolfi and update dependencies versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ciro-mota committed Aug 14, 2024
1 parent 1de427e commit 083575a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
FROM alpine:3.20
# hadolint ignore=DL3006
# hadolint ignore=DL3007
FROM cgr.dev/chainguard/wolfi-base:latest

WORKDIR /home
COPY ./scripts /home

ENV LINODE_CLI_TOKEN=<your-personal-access-token-here>

RUN apk update \
&& apk add bash=5.2.26-r0 python3=3.12.3-r1 py3-pip=24.0-r2 --no-cache\
&& pip3 install linode-cli==5.49.1 --no-cache-dir --root-user-action=ignore --break-system-packages \
RUN apk add bash=5.2.32-r2 python3=3.12.3-r1 py3.12-pip=24.2-r1 --no-cache \
&& pip3 install linode-cli==5.51.0 --no-cache-dir --root-user-action=ignore --break-system-packages \
&& chmod +x /home/dalek-linode.sh

ENTRYPOINT ["/bin/bash"]
Expand Down

0 comments on commit 083575a

Please sign in to comment.