Integrate DockerImages within Gitea #1
@@ -1,10 +1,11 @@
|
|||||||
# Build arguments
|
# Build arguments
|
||||||
ARG BASE_BUILDER
|
ARG BASE_BUILDER
|
||||||
ARG CONAN_PROFILE_BRANCH
|
|
||||||
|
|
||||||
# Base image
|
# Base image
|
||||||
FROM $BASE_BUILDER
|
FROM $BASE_BUILDER
|
||||||
|
|
||||||
|
ARG CONAN_PROFILE_BRANCH
|
||||||
|
|
||||||
# Environment variables for ccache and pipx
|
# Environment variables for ccache and pipx
|
||||||
ENV CCACHE_DIR=/ccache \
|
ENV CCACHE_DIR=/ccache \
|
||||||
CCACHE_COMPRESS=1 \
|
CCACHE_COMPRESS=1 \
|
||||||
@@ -63,10 +64,8 @@ RUN git clone --branch v2.40.4 https://github.com/rui314/mold.git /tmp/mold \
|
|||||||
&& cmake --install build \
|
&& cmake --install build \
|
||||||
&& rm -rf /tmp/mold
|
&& rm -rf /tmp/mold
|
||||||
|
|
||||||
RUN echo "$CONAN_PROFILE_BRANCH"
|
|
||||||
|
|
||||||
# Configure Conan with custom profiles and remote
|
# Configure Conan with custom profiles and remote
|
||||||
RUN conan config install https://git.romainboullard.com/BigfootDev/ConanProfiles.git --args=--branch $CONAN_PROFILE_BRANCH \
|
RUN conan config install https://git.romainboullard.com/BigfootDev/ConanProfiles.git --args="--branch $CONAN_PROFILE_BRANCH" \
|
||||||
&& conan remote add bigfootpackages https://conan.romainboullard.com/artifactory/api/conan/bigfootpackages \
|
&& conan remote add bigfootpackages https://conan.romainboullard.com/artifactory/api/conan/bigfootpackages \
|
||||||
&& conan remote disable conancenter
|
&& conan remote disable conancenter
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user