Skip to content

Commit e3e4fac

Browse files
committed
Update node version in Docker build
1 parent b8f82f5 commit e3e4fac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
FROM ubuntu:16.04
22

33
RUN apt-get update && \
4-
apt-get install -y software-properties-common && \
4+
apt-get install -y curl build-essential software-properties-common && \
5+
curl -sL https://deb.nodesource.com/setup_7.x | bash - && \
56
apt-get update && \
67
apt-get -y upgrade && \
78
apt-get install -y python3-venv libpq-dev supervisor libpython3-dev \
8-
git nginx npm nodejs && \
9+
git nginx nodejs && \
910
apt-get clean && \
1011
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
1112
useradd --create-home --shell /bin/bash cesium
@@ -23,7 +24,6 @@ ENV LC_ALL=C.UTF-8
2324
ENV LANG=C.UTF-8
2425

2526
RUN bash -c "source /cesium_env/bin/activate && \
26-
ln -s /usr/bin/nodejs /usr/bin/node && \
2727
make paths && \
2828
make dependencies && \
2929
cp docker/cesium-docker.yaml . && \

0 commit comments

Comments
 (0)