Skip to content

Instantly share code, notes, and snippets.

@kelsin
Created March 28, 2020 22:37
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 kelsin/6143c7a5c1b42c22b69ad3dcdca415b6 to your computer and use it in GitHub Desktop.
Save kelsin/6143c7a5c1b42c22b69ad3dcdca415b6 to your computer and use it in GitHub Desktop.
FROM ubuntu:18.04
# Install git and curl
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
curl \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# Install node repo
RUN curl -sL https://deb.nodesource.com/setup_12.x | /bin/bash -
# Install nodejs
RUN apt-get install -y --no-install-recommends \
nodejs \
&& rm -rf /var/lib/apt/lists/*
# Install yarn
RUN npm install -g yarn
RUN git clone https://github.com/18xx-maker/18xx-maker.git && cd 18xx-maker
WORKDIR 18xx-maker
RUN yarn && yarn build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment