Skip to content

Commit 4d2e32b

Browse files
committed
Update CURL
1 parent 5da515d commit 4d2e32b

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM curlimages/curl:8.11.1 AS builder
1+
FROM curlimages/curl:8.12.1 AS builder
22

33
# see https://github.com/openbikesensor/OpenBikeSensorFirmware/releases
44
ARG FIRMWARE_VERSION=0.21.929
@@ -15,9 +15,7 @@ RUN curl --remote-name --location https://github.com/openbikesensor/OpenBikeSens
1515
unzip obs-v${FIRMWARE_VERSION}-initial-flash.zip && \
1616
rm obs-v${FIRMWARE_VERSION}-initial-flash.zip
1717

18-
19-
20-
COPY --chown=100 ./public-html/ ./
18+
COPY --chown=curl_user ./public-html/ ./
2119
RUN sed -i "s/FIRMWARE_VERSION/${FIRMWARE_VERSION}/g" /tmp/obs/index.html && \
2220
sed -i "s/FIRMWARE_VERSION/${FIRMWARE_VERSION}/g" /tmp/obs/manifest.json && \
2321
cp /tmp/obs/manifest.json /tmp/obs/manifest-obs-${FIRMWARE_VERSION}.json && \
@@ -36,7 +34,7 @@ RUN for file in *.bin; \
3634
fi \
3735
done
3836

39-
RUN chmod -R a=rX .
37+
RUN chmod -R -c a=rX .
4038

4139
# based on infos here https://github.com/espressif/esptool-js/blob/main/.github/workflows/ci.yml#L16
4240
FROM node:20-bullseye AS nodebuilder

0 commit comments

Comments
 (0)