mirror of
https://github.com/wger-project/wger.git
synced 2026-11-30 02:01:02 +01:00
25 lines
586 B
Docker
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
|