Skip to content
This repository was archived by the owner on Jun 22, 2024. It is now read-only.

Commit d23adb4

Browse files
[deploy] using the native coursier binaries, since the JAR version takes too long and causes the build to exceed the timeout
1 parent 96d1821 commit d23adb4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Base/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ RUN mkdir -p /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/su
101101
# Download observability related jaegar jars and make them available in a separate directory
102102
# so that the container can skip downloading them everytime it comes up
103103
#=====
104-
# RUN if [ `arch` = "aarch64" ] || [ `arch` = "x86_64" ]; then \
105-
# curl -fL https://github.com/coursier/launchers/raw/master/cs-`arch`-pc-linux.gz | gzip -d > /tmp/cs \
106-
RUN curl -fLo /tmp/cs https://github.com/coursier/launchers/raw/master/coursier \
104+
#RUN curl -fLo /tmp/cs https://github.com/coursier/launchers/raw/master/coursier \
105+
RUN if [ `arch` = "aarch64" ] || [ `arch` = "x86_64" ]; then \
106+
curl -fL https://github.com/coursier/launchers/raw/master/cs-`arch`-pc-linux.gz | gzip -d > /tmp/cs \
107107
&& chmod +x /tmp/cs \
108108
&& mkdir -p /external_jars \
109-
&& chmod -R 777 /external_jars ;
110-
# fi
109+
&& chmod -R 777 /external_jars ; \
110+
fi
111111

112112
RUN if [ -f "/tmp/cs" ]; then \
113113
/tmp/cs fetch --classpath --cache /external_jars io.opentelemetry:opentelemetry-exporter-jaeger:1.19.0 io.grpc:grpc-netty:1.50.2 > /external_jars/.classpath.txt ; \

0 commit comments

Comments
 (0)