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
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# hadolint ignore=DL3008,DL3028,DL4006
|
||||
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/*
|
||||
# hadolint ignore=DL3018
|
||||
RUN apk add --no-cache \
|
||||
python3-pip \
|
||||
curl
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
Reference in a new issue