docker-archlinux-cdev/Dockerfile
surtur 680d370deb
All checks were successful
continuous-integration/drone/push Build is passing
hotfix: archlinux/docker issue with glibc/alpm lib
issue has been partly fixed upstream
ref: bd4c5abe4d
what remained to be done was to momentarily ignore glibc updates
2021-02-20 13:25:24 +01:00

21 lines
839 B
Docker

FROM immawanderer/archlinux:latest
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
WORKDIR /tmp/
RUN pacman -Syu --noconfirm --ignore glibc --needed gcc cmake make git valgrind \
&& pacman --noconfirm -R $(pacman -Qdtq) || true
RUN pacman -Scc && rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* \
&& 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; \
rm -rfv /tmp/* || true
WORKDIR /