docker-archlinux/Dockerfile
surtur 5745925945
All checks were successful
continuous-integration/drone/push Build is passing
chore: point vcs-url to the primary source
* note that gh is only a read-only mirror
2020-11-26 14:28:56 +01:00

18 lines
532 B
Docker

FROM archlinux:latest
ARG BUILD_DATE
ARG VCS_REF
LABEL description="Hourly updated archlinux base image"
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.vcs-url="https://git.dotya.ml/wanderer/docker-archlinux.git" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.license=GPL-3.0
WORKDIR /tmp/
RUN pacman -Syu --noconfirm --needed && pacman --noconfirm -R $(pacman -Qdtq) || true
RUN pacman -Scc && rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* \
rm -rv /tmp/* || true
WORKDIR /