17 lines
1.1 KiB
Text
17 lines
1.1 KiB
Text
|
ENV PYTHON_APT_PACKAGES="python3-all python3-dev python3-pip python3-venv"
|
||
|
ENV PHP_APT_PACKAGES="composer php-apcu php-cli php-curl php-deepcopy php-gd php-gnupg php-imagick php-intl php-json php-ldap php-mbstring php-memcache php-mysql php-pgsql php-rrd php-xdebug php-xml php-xmlrpc php-yaml php-zip php-gmp"
|
||
|
ENV DEB_APT_PACKAGES="apt-file dpkg-dev fakeroot build-essential devscripts debhelper dh-python equivs"
|
||
|
ENV TOOLS_APT_PACKAGES="sed lsb-release gnupg2 curl jq git rsync gitdch wget ca-certificates"
|
||
|
ENV APT_PACKAGES="$PYTHON_APT_PACKAGES $PHP_APT_PACKAGES $DEB_APT_PACKAGES $TOOLS_APT_PACKAGES"
|
||
|
|
||
|
ENV PIP_PACKAGES="pre-commit"
|
||
|
|
||
|
RUN echo "deb http://debian.zionetrix.net stable main" > /etc/apt/sources.list.d/zionetrix.list && \
|
||
|
apt-get -o Acquire::AllowInsecureRepositories=true -o Acquire::AllowDowngradeToInsecureRepositories=true update && \
|
||
|
apt-get -o APT::Get::AllowUnauthenticated=true install --yes zionetrix-archive-keyring && \
|
||
|
apt-get update && \
|
||
|
apt-get install --no-install-recommends -y $APT_PACKAGES && \
|
||
|
apt-get clean && \
|
||
|
rm -rf /var/lib/apt/lists/* && \
|
||
|
apt-file update
|