-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile-dev
19 lines (15 loc) · 981 Bytes
/
Dockerfile-dev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM ruby:2.7
RUN echo "deb http://deb.debian.org/debian/ buster main" > /etc/apt/sources.list && \
echo "deb http://security.debian.org/debian-security buster/updates main" >> /etc/apt/sources.list
# Install Node.js (Consider updating Node.js version)
RUN apt-get -qq update && \
apt-get -qq -y install apt-transport-https ca-certificates curl gnupg && \
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg && \
echo "deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x buster main" > /etc/apt/sources.list.d/nodesource.list && \
apt-get -qq update && \
apt-get -qq install -y nodejs && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Install Elm 0.17.x
RUN cd /usr/local/bin && \
curl -L "https://github.com/lydell/elm-old-binaries/releases/download/main/0.17.1-linux-x64.tar.gz" | tar xz --strip-components=1
WORKDIR /app