docker-archlinux-cdev/Dockerfile
surtur 1fe2e823c4
All checks were successful
continuous-integration/drone/push Build is passing
updated Dockerfile to use ARGs
* set LABEL details at build time using ARGs
* added build hook that provides the subject functionality
* refactored Dockerfile
2020-03-04 20:11:45 +01:00

15 lines
426 B
Docker

FROM archlinux/base
ENV container=docker
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" \
org.label-schema.vcs-ref=$VCS_REF
RUN pacman -Syu --noconfirm --needed gcc cmake make git valgrind \
&& pacman -Scc \
&& rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/*