Skip to content

Commit

Permalink
feat: switch to debian slim
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-ni committed Aug 31, 2023
1 parent 2075ec6 commit 26efda2
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
FROM python:3.11-alpine AS transpire
FROM python:3.11-slim AS transpire

RUN apk add git openssh-client
RUN apk add kubectl --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community/
RUN apk add helm --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community/
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
openssh-client \
curl \
&& rm -rf /var/lib/apt/lists/*
RUN curl -L "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" -o /usr/local/bin/kubectl \
&& chmod +x /usr/local/bin/kubectl
RUN curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash

RUN pip install poetry
RUN poetry config virtualenvs.create false
Expand Down

0 comments on commit 26efda2

Please sign in to comment.