move to alpine
This commit is contained in:
parent
0a215bcf3d
commit
126f88da1a
1 changed files with 7 additions and 10 deletions
17
Dockerfile
17
Dockerfile
|
@ -1,14 +1,11 @@
|
||||||
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 \
|
||||||
|
git \
|
||||||
# Install necessary packages
|
openssh-client \
|
||||||
# hadolint ignore=DL3008
|
iputils-ping
|
||||||
RUN apt-get update && \
|
|
||||||
apt-get -y --no-install-recommends install git openssh-client iputils-ping && \
|
|
||||||
apt-get clean && \
|
|
||||||
rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
|
|
||||||
|
|
||||||
# Copy the script into the container
|
# Copy the script into the container
|
||||||
COPY app.sh /app/app.sh
|
COPY app.sh /app/app.sh
|
||||||
|
|
Loading…
Reference in a new issue