This commit is contained in:
@@ -16,7 +16,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- platform: linux
|
- platform: linux
|
||||||
docker_image: gitea.staspast.click/stas/rust-node-builder:custom
|
docker_image: gitea.staspast.click/stas/rust-node-builder:v1
|
||||||
target: x86_64-unknown-linux-gnu
|
target: x86_64-unknown-linux-gnu
|
||||||
artifact_name: rlogg-linux-x86_64
|
artifact_name: rlogg-linux-x86_64
|
||||||
binary_extension: ""
|
binary_extension: ""
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
docker build -t gitea.staspast.click/stas/rust-node-builder:custom -f linux-build.Dockerfile . && docker push gitea.staspast.click/stas/rust-node-builder:custom
|
docker build -t gitea.staspast.click/stas/rust-node-builder:v1 -f linux-build.Dockerfile . && docker push gitea.staspast.click/stas/rust-node-builder:v1
|
||||||
@@ -1,10 +1,15 @@
|
|||||||
FROM rust:latest
|
FROM rust:latest
|
||||||
|
# Install GNU tar and ensure it's used instead of BusyBox tar
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
nodejs \
|
nodejs \
|
||||||
npm \
|
npm \
|
||||||
tar \
|
tar \
|
||||||
gzip \
|
gzip \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* && \
|
||||||
&& rm -f /bin/tar \
|
# Check if /bin/tar is BusyBox and replace it with GNU tar
|
||||||
&& ln -s /usr/bin/tar /bin/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
|
||||||
Reference in New Issue
Block a user