Skip to content

Commit

Permalink
Fix run on armv7
Browse files Browse the repository at this point in the history
  • Loading branch information
c0va23 committed Aug 9, 2021
1 parent dcc71aa commit b619d73
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@ RUN chmod +x /usr/local/bin/umount
RUN useradd --create-home csi \
&& chown -R csi: /home/csi

# Workaround for https://github.com/nodejs/node/issues/37219
RUN test $(uname -m) != armv7l || ( \
apt-get update \
&& apt-get install -y libatomic1 \
&& rm -rf /var/lib/apt/lists/* \
)

COPY --from=build --chown=csi:csi /home/csi/app /home/csi/app

WORKDIR /home/csi/app
Expand Down

0 comments on commit b619d73

Please sign in to comment.