Skip to content

Commit 9677465

Browse files
committed
Merge branch 'release/1.0.2' into main
2 parents 2884717 + ac39923 commit 9677465

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

Dockerfile

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
FROM alpine:latest
22

3-
RUN apk --no-cache add bash mosquitto-clients jq wget dcron libcap
4-
RUN wget https://bintray.com/ookla/download/download_file?file_path=ookla-speedtest-1.0.0-x86_64-linux.tgz -O /var/tmp/speedtest.tar.gz
5-
RUN tar xf /var/tmp/speedtest.tar.gz -C /var/tmp
6-
RUN ls -alF /var/tmp
7-
RUN cp /var/tmp/speedtest /usr/local/bin
3+
RUN apk --no-cache add bash mosquitto-clients jq wget dcron libcap && \
4+
wget https://bintray.com/ookla/download/download_file?file_path=ookla-speedtest-1.0.0-x86_64-linux.tgz -O /var/tmp/speedtest.tar.gz && \
5+
tar xf /var/tmp/speedtest.tar.gz -C /var/tmp && \
6+
mv /var/tmp/speedtest /usr/local/bin && \
7+
rm /var/tmp/speedtest.tar.gz
88

9-
RUN addgroup -S foo && adduser -S foo -G foo
10-
11-
RUN chown foo:foo /usr/sbin/crond && \
9+
RUN addgroup -S foo && adduser -S foo -G foo && \
10+
chown foo:foo /usr/sbin/crond && \
1211
setcap cap_setgid=ep /usr/sbin/crond
1312

1413
ADD ./entrypoint.sh /opt/entrypoint.sh

0 commit comments

Comments
 (0)