surtur
dbeddd89be
All checks were successful
continuous-integration/drone/push Build is passing
* the issue that manifested itself when new glibc has been used with older docker was temporarily worked around for this image inbd4c5abe4d
. if you still need this workaround, feel free to revert. ref:bd4c5abe4d
22 lines
703 B
Docker
22 lines
703 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
|
|
|
|
# if you need the WORKAROUND for glibc 2.33 and old Docker
|
|
# have a look at https://git.dotya.ml/wanderer/docker-archlinux/commit/bd4c5abe4dca475965548cb8332ef9b9d2a4953c
|
|
|
|
RUN pacman --version
|
|
|
|
RUN pacman -Syu --noconfirm --needed
|
|
RUN pacman --noconfirm -Rn $(pacman -Qdtq) || true
|
|
RUN pacman -Scc && rm -rf /var/cache/pacman/* /var/lib/pacman/sync/* \
|
|
rm -rv /tmp/* || true
|