aboutsummaryrefslogtreecommitdiff
path: root/deployment/ubuntu-package-arm64/Dockerfile.arm64
diff options
context:
space:
mode:
authorJoshua Boniface <joshua@boniface.me>2019-10-20 13:01:00 -0400
committerJoshua Boniface <joshua@boniface.me>2019-10-20 13:01:44 -0400
commit44e2d91b2fc291d01edb8a607bc6c3113003ed7b (patch)
treed07ce5b8605615f63806811e8d2c6f9486f5f7e0 /deployment/ubuntu-package-arm64/Dockerfile.arm64
parentf02ab9818a6904369f7828fce4e48a75211833aa (diff)
Clean up ubuntu-arm64 build steps
Installs the nodejs package via NodeSource, since the Bionic npm package is heckin' broken.
Diffstat (limited to 'deployment/ubuntu-package-arm64/Dockerfile.arm64')
-rw-r--r--deployment/ubuntu-package-arm64/Dockerfile.arm646
1 files changed, 6 insertions, 0 deletions
diff --git a/deployment/ubuntu-package-arm64/Dockerfile.arm64 b/deployment/ubuntu-package-arm64/Dockerfile.arm64
index 789dcc15a1..58f3d3aaff 100644
--- a/deployment/ubuntu-package-arm64/Dockerfile.arm64
+++ b/deployment/ubuntu-package-arm64/Dockerfile.arm64
@@ -21,6 +21,12 @@ RUN wget https://download.visualstudio.microsoft.com/download/pr/d9f37b73-df8d-4
&& tar -xzf dotnet-sdk.tar.gz -C dotnet-sdk \
&& ln -s $( pwd )/dotnet-sdk/dotnet /usr/bin/dotnet
+# Install npm package manager
+RUN wget -q -O- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \
+ && echo "deb https://deb.nodesource.com/node_8.x $(lsb_release -s -c) main" > /etc/apt/sources.list.d/npm.list \
+ && apt update \
+ && apt install -y nodejs
+
# Link to docker-build script
RUN ln -sf ${PLATFORM_DIR}/docker-build.sh /docker-build.sh