2020-06-02 20:12:10 +02:00
|
|
|
FROM immawanderer/archlinux:latest
|
2020-03-04 20:11:45 +01:00
|
|
|
|
|
|
|
ARG BUILD_DATE
|
|
|
|
ARG VCS_REF
|
|
|
|
|
|
|
|
LABEL org.label-schema.build-date=$BUILD_DATE \
|
|
|
|
org.label-schema.vcs-url="https://github.com/wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf/docker-archlinux-cdev.git" \
|
2020-03-17 03:20:31 +01:00
|
|
|
org.label-schema.vcs-ref=$VCS_REF \
|
|
|
|
org.label-schema.license=GPL-3.0
|
2020-03-04 20:11:45 +01:00
|
|
|
|
2020-04-22 17:47:08 +02:00
|
|
|
WORKDIR /tmp/
|
2020-04-13 00:06:12 +02:00
|
|
|
RUN pacman -Syu --noconfirm --needed gcc cmake make git valgrind \
|
2020-04-22 20:13:07 +02:00
|
|
|
&& pacman --noconfirm -R $(pacman -Qdtq) || true
|
2020-04-22 18:52:41 +02:00
|
|
|
RUN pacman -Scc && rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* \
|
2020-04-22 21:20:11 +02:00
|
|
|
&& rm -rv /usr/share/info/* ;rm -rv /usr/share/man/* ; \
|
|
|
|
rm -rv /usr/share/doc/* ;rm -rv /usr/share/zoneinfo/* ;rm -rv /usr/share/i18n/*; \
|
|
|
|
find /. -name "*~" -type f -delete; \
|
|
|
|
find /usr/share/terminfo/. ! -name "*xterm*" ! -name "*screen*" ! -name "*screen*" -type f -delete; \
|
2020-04-22 21:39:01 +02:00
|
|
|
rm -rfv /tmp/* || true
|
2020-04-22 17:47:08 +02:00
|
|
|
WORKDIR /
|