Files
rlogg/docker/linux-build.Dockerfile
Stanislav Pastushenko e1102b8590
All checks were successful
Build / Build - linux (push) Successful in 6m53s
fix build
2025-12-11 20:27:12 +01:00

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