Skip to content

Commit 6c2bf10

Browse files
committed
Fix parca-debuginfo binary
1 parent 09d7315 commit 6c2bf10

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docker/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,14 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash
3636
# Install `sccache`, `buf`, and `parca-debuginfo` in a single layer
3737
ARG TARGETARCH
3838
RUN arch=$(echo "$TARGETARCH" | sed s/arm64/aarch64/ | sed s/amd64/x86_64/) && \
39-
curl -LSfs https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-${arch}-unknown-linux-musl.tar.gz -o sccache.tar.gz && \
39+
curl -sSLf https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-${arch}-unknown-linux-musl.tar.gz -o sccache.tar.gz && \
4040
tar -xvf sccache.tar.gz && \
4141
rm sccache.tar.gz && \
4242
cp sccache-v0.10.0-${arch}-unknown-linux-musl/sccache /usr/bin/sccache && \
4343
rm -rf sccache-v0.10.0-${arch}-unknown-linux-musl && \
44-
curl -sSL "https://github.com/bufbuild/buf/releases/download/v1.55.1/buf-Linux-${arch}" -o "/usr/bin/buf" && \
44+
curl -sSLf "https://github.com/bufbuild/buf/releases/download/v1.55.1/buf-Linux-${arch}" -o "/usr/bin/buf" && \
4545
chmod +x "/usr/bin/buf" && \
46-
parca_arch=$(echo "$TARGETARCH" | sed s/amd64/x86_64/) && \
47-
curl -sL https://github.com/parca-dev/parca-debuginfo/releases/download/v0.12.2/parca-debuginfo_0.12.2_Linux_${parca_arch} -o parca-debuginfo && \
46+
curl -sSLf https://github.com/parca-dev/parca-debuginfo/releases/download/v0.12.2/parca-debuginfo_0.12.2_Linux_${arch} -o parca-debuginfo && \
4847
mv parca-debuginfo /usr/bin/parca-debuginfo
4948

5049
# Copy musl from the prebuilt x86_64 and aarch64 images

0 commit comments

Comments
 (0)