Integrate DockerImages within Gitea #1
@@ -1,10 +1,11 @@
|
||||
# Build arguments
|
||||
ARG BASE_BUILDER
|
||||
ARG CONAN_PROFILE_BRANCH
|
||||
|
||||
# Base image
|
||||
FROM $BASE_BUILDER
|
||||
|
||||
ARG CONAN_PROFILE_BRANCH
|
||||
|
||||
# Environment variables for ccache and pipx
|
||||
ENV CCACHE_DIR=/ccache \
|
||||
CCACHE_COMPRESS=1 \
|
||||
@@ -63,12 +64,10 @@ RUN git clone --branch v2.40.4 https://github.com/rui314/mold.git /tmp/mold \
|
||||
&& cmake --install build \
|
||||
&& rm -rf /tmp/mold
|
||||
|
||||
RUN echo "$CONAN_PROFILE_BRANCH"
|
||||
|
||||
# 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 disable conancenter
|
||||
|
||||
# Show ccache stats (optional, for debugging)
|
||||
RUN ccache --show-stats
|
||||
RUN ccache --show-stats
|
||||
Reference in New Issue
Block a user