ethereum: install git

Required for properly installing truffle.
This commit is contained in:
Leo 2020-08-16 11:25:37 +02:00
parent 784c35e48d
commit e39469f817
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
# syntax=docker/dockerfile:experimental
FROM node:lts-alpine
# npm wants to clone random Git repositories - lovely.
RUN apk add git
# Run as user, otherwise, npx explodes.
USER 1000
RUN mkdir -p /home/node/app