Skip to content

Commit a8e4891

Browse files
committed
Fix buildah build errors in github
Signed-off-by: Tuomas Katila <[email protected]>
1 parent 95009ad commit a8e4891

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

demo/crypto-perf/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends wget build-esse
1111
ARG DPDK_TARBALL=dpdk-24.03.tar.xz
1212
ARG DPDK_TARBALL_SHA256="33ed973b3945af4f5923096ddca250b401dc80be3b5c6393b4e4fe43a1a6c2ad"
1313

14-
RUN wget -q https://fast.dpdk.org/rel/$DPDK_TARBALL \
14+
RUN umask 0000 && wget -q https://fast.dpdk.org/rel/$DPDK_TARBALL \
1515
&& echo "$DPDK_TARBALL_SHA256 $DPDK_TARBALL" | sha256sum -c - \
16-
&& tar -xf $DPDK_TARBALL && rm $DPDK_TARBALL
16+
&& tar -xf $DPDK_TARBALL --no-same-permissions --no-same-owner && rm $DPDK_TARBALL
1717

1818
ARG SOVERSION=24
1919
RUN cd dpdk-* && meson setup \

demo/opae-nlb-demo/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN mkdir -p /usr/src/opae && \
1212
cd /usr/src/opae && \
1313
curl -fsSL https://github.com/OFS/opae-sdk/archive/${OPAE_RELEASE}.tar.gz -o opae.tar.gz && \
1414
echo "$OPAE_SHA256 opae.tar.gz" | sha256sum -c - && \
15-
tar -xzf opae.tar.gz && \
15+
umask 0000 && tar -xzf opae.tar.gz --no-same-permissions --no-same-owner && \
1616
rm -f opae.tar.gz
1717

1818
# Build OPAE

0 commit comments

Comments
 (0)