Skip to content

Commit

Permalink
attempt stop using custom docker build image
Browse files Browse the repository at this point in the history
  • Loading branch information
seriousben committed Dec 18, 2024
1 parent 9730d83 commit eac3d4f
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions server/Cross.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
[target.aarch64-unknown-linux-gnu]
dockerfile = "dockerfiles/Dockerfile.builder_linux_aarch64"
#dockerfile = "dockerfiles/Dockerfile.builder_linux_aarch64"
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
#"dpkg --add-architecture $CROSS_DEB_ARCH",
"curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh",
"bash -E nodesource_setup.sh",
"apt-get install --assume-yes --no-install-recommends nodejs",
"mkdir -p /.npm",
"chown -R 1001:128 /.npm"
"chown -R 1001:128 /.npm",
]

[target.x86_64-unknown-linux-gnu]
dockerfile = "dockerfiles/Dockerfile.builder_linux_x86"
#dockerfile = "dockerfiles/Dockerfile.builder_linux_x86"
pre-build = [
#"dpkg --add-architecture $CROSS_DEB_ARCH",
"curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh",
"bash -E nodesource_setup.sh",
"apt-get install --assume-yes --no-install-recommends nodejs",
"mkdir -p /.npm",
"chown -R 1001:128 /.npm"
"chown -R 1001:128 /.npm",
]

0 comments on commit eac3d4f

Please sign in to comment.