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
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Install necessary packages
|
||||
# hadolint ignore=DL3008
|
||||
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/*
|
||||
# hadolint ignore=DL3018
|
||||
RUN apk add --no-cache \
|
||||
git \
|
||||
openssh-client \
|
||||
iputils-ping
|
||||
|
||||
# Copy the script into the container
|
||||
COPY app.sh /app/app.sh
|
||||
|
|
Loading…
Reference in a new issue