move to alpine
This commit is contained in:
parent
d573f0af84
commit
017fef9b52
1 changed files with 6 additions and 10 deletions
16
Dockerfile
16
Dockerfile
|
@ -1,14 +1,10 @@
|
||||||
FROM ubuntu:focal
|
# hadolint ignore=DL3007
|
||||||
|
FROM alpine:latest
|
||||||
|
|
||||||
# deaktiviert Nachfragen beim installieren von Paketen
|
# hadolint ignore=DL3018
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
RUN apk add --no-cache \
|
||||||
|
python3-pip \
|
||||||
# hadolint ignore=DL3008,DL3028,DL4006
|
curl
|
||||||
RUN apt-get update && \
|
|
||||||
apt-get -y --no-install-recommends install \
|
|
||||||
python3-pip curl && \
|
|
||||||
apt-get clean && \
|
|
||||||
rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
|
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
Reference in a new issue