Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt development Dockerfile to best practices #176

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions develop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,21 @@ ENV START_SCRIPT /root/start-develop.sh
# this forces dpkg not to call sync() after package extraction and speeds up
# install
RUN echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/02apt-speedup
# we don't need and apt cache in a container
# we don't need an apt cache in a container
RUN echo "Acquire::http {No-Cache=True;};" > /etc/apt/apt.conf.d/no-cache

RUN apt-get -y update && \
export DEBIAN_FRONTEND=noninteractive

############################################################
# Install development requirements
############################################################

RUN apt-get -y install \
RUN apt-get -y update && \
DEBIAN_FRONTEND=noninteractive && \
apt-get -y install \
git \
nodejs \
nodejs-legacy \
npm \
--no-install-recommends

RUN git config --global url."https://".insteadOf git://
# Avoid this: "Problem with the SSL CA cert (path? access rights?)"
RUN git config --global http.sslVerify false
Expand Down