Skip to content

Commit 1f98ce5

Browse files
committed
builder/Dockerfile: strip component on rust archive extraction
adapt to rust stable and rust nightly archives
1 parent 013d92c commit 1f98ce5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/builder/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ COPY .github/builder/rsrc/rpms /install/rpms
1313

1414
RUN yum -y install /install/rpms/*.rpm && yum clean all
1515

16-
RUN tar -C /install -xvf /install/rust-nightly-x86_64-unknown-linux-gnu.tar.xz && \
17-
/install/rust-nightly-x86_64-unknown-linux-gnu/install.sh && \
16+
RUN tar -C /install --strip-components=1 -xvf /install/rust-nightly-x86_64-unknown-linux-gnu.tar.xz && \
17+
/install/install.sh && \
1818
mkdir -p /make && \
1919
tar -C /make --strip-components=1 -xf /install/make-4.4.1.tar.gz && \
2020
pushd /make && \

0 commit comments

Comments
 (0)