1
0
Fork 0

nodesource apt repo not supported on i386

This commit is contained in:
Nick Sweeting 2021-02-01 06:05:12 -05:00
parent 7e7ffcac18
commit b90afc8c04
2 changed files with 3 additions and 3 deletions

View file

@ -75,7 +75,7 @@ jobs:
tags: ${{ steps.docker_meta.outputs.tags }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
platforms: linux/amd64,linux/386,linux/arm64,linux/arm/v7
platforms: linux/amd64,linux/arm64,linux/arm/v7
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

View file

@ -63,7 +63,7 @@ RUN curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
&& apt-get update -qq \
&& apt-get install -qq -y --no-install-recommends \
nodejs \
&& npm install -g npm \
# && npm install -g npm \
&& rm -rf /var/lib/apt/lists/*
# Install Node dependencies
@ -83,7 +83,7 @@ ADD ./pip_dist/archivebox.egg-info/requires.txt "$CODE_DIR/pip_dist/archivebox.e
RUN apt-get update -qq \
&& apt-get install -qq -y --no-install-recommends \
build-essential python-dev python3-dev \
&& pip install --upgrade pip \
# && pip install --upgrade pip \
&& grep -B 1000 -E '^$' "$CODE_DIR/pip_dist/archivebox.egg-info/requires.txt" | pip install --quiet -r /dev/stdin \
&& pip install --quiet "sonic-client==0.0.5" \
&& apt-get purge -y build-essential python-dev python3-dev \