Commit 1a834597 authored by Marcel Huber's avatar Marcel Huber
Browse files

Merge branch '2-use-arch-build-as-base-image' into 'master'

use arch-build as base image

Closes #2

See merge request !3
parents 71b13556 1332b82b
Pipeline #59 passed with stages
in 1 minute and 12 seconds
FROM marcelhuberfoo/arch
FROM marcelhuberfoo/arch-build
MAINTAINER Marcel Huber <marcelhuberfoo@gmail.com>
ARG BUILD_TIME
......@@ -19,12 +19,6 @@ LABEL org.label-schema.build-date="$BUILD_TIME" \
org.label-schema.schema-version="1.0"
ENV BUILD_DATE=$BUILD_DATE
ENV BUILD_TAG=$BUILD_TAG
USER root
RUN pacman -Syy -q --noconfirm git base-devel && \
printf "y\\ny\\n" | pacman -Scc
RUN sed -r -i 's|^#?(MAKEFLAGS=).*|\1"-j$(nproc)"|' /etc/makepkg.conf
USER $UNAME
RUN cd /tmp && \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment