Skip to content

Instantly share code, notes, and snippets.

@AndyWatt83
Created May 4, 2021 21:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndyWatt83/4e8127f0ba82cd231304679e9842f0db to your computer and use it in GitHub Desktop.
Save AndyWatt83/4e8127f0ba82cd231304679e9842f0db to your computer and use it in GitHub Desktop.
truffle-suite Dockerfile
ARG VARIANT="focal"
FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}
USER root
WORKDIR /home/app
RUN apt-get update
RUN apt-get -y install curl gnupg
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN apt-get -y install nodejs
RUN npm install
RUN npm install -g truffle@5.3.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment