diff --git a/ci/ci-fedora-40-3.10/Dockerfile b/ci/ci-fedora-40-3.10/Dockerfile index fdcd449..e80359c 100644 --- a/ci/ci-fedora-40-3.10/Dockerfile +++ b/ci/ci-fedora-40-3.10/Dockerfile @@ -1,7 +1,7 @@ FROM fedora:40 -LABEL maintainer="martin@gnuradio.org" +LABEL maintainer="mmueller@gnuradio.org" -ENV security_updates_as_of 2024-04-23 +ENV security_updates_as_of 2024-08-29 # Build RUN dnf install --refresh -y \ @@ -84,3 +84,16 @@ RUN mkdir -p /src/build && \ make install && \ cd / && \ rm -rf /src/ + +# "Install" sccache +RUN mkdir /tmp/sccache/ \ + && curl -L https://github.com/mozilla/sccache/releases/download/v0.8.1/sccache-v0.8.1-x86_64-unknown-linux-musl.tar.gz > /tmp/sccache.tgz \ + && cd /tmp/sccache \ + && tar xf /tmp/sccache.tgz \ + && cp */sccache /usr/bin \ + && rm -rf /tmp/sccache.tgz /tmp/sccache \ + && mkdir -p /etc/sccache/ +COPY config /etc/sccache/config +ENV SCCACHE_CONF="/etc/sccache/config" +# anything works, but needs to be set: +ENV AWS_REGION="non-AWS" diff --git a/ci/ci-fedora-40-3.10/config b/ci/ci-fedora-40-3.10/config new file mode 100644 index 0000000..b351e65 --- /dev/null +++ b/ci/ci-fedora-40-3.10/config @@ -0,0 +1,8 @@ +[cache.s3] +use_ssl = true +no_credentials = false +server_side_encryption = false +## Needs to be passed from CI as Env var +# bucket = "sccache" +# endpoint = "s3.us-west-002.backblazeb2.com" +# Also need to pass AWS credentials as env vars (from GH secrets)