All checks were successful
Build / Build - linux (push) Successful in 6m53s
15 lines
470 B
Docker
15 lines
470 B
Docker
FROM rust:latest
|
|
# Install GNU tar and ensure it's used instead of BusyBox tar
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
nodejs \
|
|
npm \
|
|
tar \
|
|
gzip \
|
|
&& rm -rf /var/lib/apt/lists/* && \
|
|
# Check if /bin/tar is BusyBox and replace it with GNU tar
|
|
if /bin/tar --version 2>&1 | grep -q "BusyBox"; then \
|
|
cp /usr/bin/tar /bin/tar.gnu && \
|
|
rm -f /bin/tar && \
|
|
mv /bin/tar.gnu /bin/tar; \
|
|
fi |