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