docker-archlinux-cdev/Dockerfile
surtur de0aebac46
All checks were successful
continuous-integration/drone/push Build is passing
chore: fool hadolint by pinning to linux-amd64 tag
that tag is rolling in this case - same as latest usually, but hadolint
doesn't know that :)
enabled us to get rid of the .hadolint.yaml file
2021-04-23 01:00:43 +02:00

21 lines
826 B
Docker

# syntax=docker/dockerfile:1.2
FROM immawanderer/archlinux:linux-amd64
ARG BUILD_DATE
ARG VCS_REF
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.vcs-url="https://git.dotya.ml/wanderer/docker-archlinux-cdev.git" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.license=GPL-3.0
RUN pacman --version
RUN pacman -Syu --noconfirm --needed gcc cmake make git valgrind
RUN pacman --noconfirm -Rn "$(pacman -Qdtq)" || true
RUN pacman -Scc && rm -rf /var/cache/pacman/* /var/lib/pacman/sync/* \
&& rm -rf /usr/share/info/* ;rm -rf /usr/share/man/* ; \
rm -rf /usr/share/doc/* ;rm -rf /usr/share/zoneinfo/* ;rm -rf /usr/share/i18n/*; \
find /. -name "*~" -type f -delete; \
find /usr/share/terminfo/. ! -name "*xterm*" ! -name "*screen*" ! -name "*screen*" -type f -delete;