mirror of
https://github.com/wger-project/wger.git
synced 2026-12-01 02:32:33 +01:00
38 lines
781 B
Docker
38 lines
781 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:18.10
|
|
|
|
LABEL maintainer="Roland Geider <roland@geider.net>"
|
|
|
|
# Install dependencies
|
|
RUN apt-get update \
|
|
&& apt-get install --no-install-recommends -y \
|
|
build-essential \
|
|
git \
|
|
libjpeg8-dev \
|
|
libpq-dev \
|
|
libwebp-dev \
|
|
locales \
|
|
nodejs \
|
|
npm \
|
|
python-virtualenv \
|
|
python3-dev \
|
|
python3-venv \
|
|
sudo \
|
|
virtualenv \
|
|
zlib1g-dev \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
# Add wger user
|
|
RUN adduser wger --disabled-password --gecos ""
|
|
RUN echo "wger ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/wger
|