Skip to content

Commit 7e8c943

Browse files
NickNeckJulian
authored andcommitted
Update base image
1 parent 9b20ea0 commit 7e8c943

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

Dockerfile

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
FROM node:alpine
1+
FROM node:10.4.0
22

33
# Install Python.
4-
RUN apk add --no-cache bash python && \
5-
python -m ensurepip && \
6-
rm -r /usr/lib/python*/ensurepip && \
7-
pip install --upgrade pip setuptools && \
8-
rm -r /root/.cache
9-
10-
RUN pip install -U "tox"
4+
RUN apt-get update && apt-get install -y \
5+
python2.7 \
6+
python-pip \
7+
&& rm -rf /var/lib/apt/lists/* \
8+
&& pip install -U "tox" \
9+
&& npm i npm
1110

1211
# Define working directory.
1312
WORKDIR /src

0 commit comments

Comments
 (0)