surtur
1fe2e823c4
All checks were successful
continuous-integration/drone/push Build is passing
* set LABEL details at build time using ARGs * added build hook that provides the subject functionality * refactored Dockerfile
15 lines
426 B
Docker
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/*
|