Files
wger/extras/docker/base/Dockerfile
Roland Geider 801f50718b Install nodejs linting modules
Since these are development images, they should be configured with everything
needed
2016-09-18 15:17:19 +02:00

25 lines
586 B
Docker

#
# Base Docker image for wger images
#
#
# This dockerfile simply installs all common dependencies for the
# other images and does not do anything on its own.
#
# docker build --tag wger/base .
#
FROM ubuntu:16.04
MAINTAINER Roland Geider <roland@geider.net>
# Install dependencies
RUN apt-get update;\
apt-get install -y nodejs nodejs-legacy npm git \
python-virtualenv python3-dev \
libjpeg8-dev zlib1g-dev libwebp-dev \
sudo
# Add wger user
RUN adduser wger --disabled-password --gecos ""
RUN echo "wger ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/wger