move to alpine
This commit is contained in:
parent
2ea60807fa
commit
47bcbe481f
1 changed files with 15 additions and 18 deletions
33
Dockerfile
33
Dockerfile
|
@ -1,18 +1,15 @@
|
||||||
FROM ubuntu:focal
|
# hadolint ignore=DL3007
|
||||||
|
FROM alpine:latest
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
# hadolint ignore=DL3018
|
||||||
|
RUN apk update --no-cache && \
|
||||||
# hadolint ignore=DL3008,DL3028
|
apk add --no-cache \
|
||||||
RUN apt-get update && \
|
build-essential \
|
||||||
apt-get -y --no-install-recommends install \
|
wget \
|
||||||
build-essential \
|
rsync \
|
||||||
wget \
|
openssh-client \
|
||||||
rsync \
|
ca-certificates \
|
||||||
openssh-client \
|
debhelper \
|
||||||
ca-certificates \
|
git \
|
||||||
debhelper \
|
curl \
|
||||||
git \
|
yamllint \
|
||||||
curl \
|
bash \
|
||||||
yamllint \
|
|
||||||
&& apt-get clean && \
|
|
||||||
rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
|
|
||||||
|
|
Loading…
Reference in a new issue