File tree 2 files changed +9
-10
lines changed
2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -92,8 +92,15 @@ RUN mkdir /tmp/sccache/ \
92
92
&& tar xf /tmp/sccache.tgz \
93
93
&& cp */sccache /usr/bin \
94
94
&& rm -rf /tmp/sccache.tgz /tmp/sccache \
95
- && mkdir -p /etc/sccache/
96
- COPY ci/config /etc/sccache/config
95
+ && mkdir -p /etc/sccache/ \
96
+ # copy annoyingly would need to put the shared file into a separate image
97
+ # or set up a builder context, and that just seems to be more trouble than it's
98
+ # worth, sooooo:
99
+ && printf '[cache.s3]\n ' > /etc/sccache/config \
100
+ && printf 'use_ssl = true\n ' >> /etc/sccache/config \
101
+ && printf 'no_credentials = false\n ' >> /etc/sccache/config \
102
+ && printf 'server_side_encryption = false\n ' >> /etc/sccache/config
103
+
97
104
ENV SCCACHE_CONF="/etc/sccache/config"
98
105
# anything works, but needs to be set:
99
106
ENV AWS_REGION="non-AWS"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments