Added new alpine variants

This commit is contained in:
2020-11-04 23:50:39 -06:00
parent 0cb27de924
commit f9e6a4ffee
11 changed files with 444 additions and 3 deletions
+15 -2
View File
@@ -1,10 +1,23 @@
FROM webdevops/php-nginx:ubuntu-14.04
MAINTAINER Belman Kraul <bkraul@belmankraul.com>
FROM webdevops/php-nginx:ubuntu-14.04 AS BUILDER
ADD ./compile-git-with-openssl.sh /root/compile-git-with-openssl.sh
RUN set -x \
&& apt update \
&& apt install -y checkinstall \
&& /root/compile-git-with-openssl.sh --skip-tests --build-dir=/tmp/git-build \
&& cd /tmp/git-build \
&& checkinstall --pkgname=git --pkgversion=2.24.0 --maintainer=bkraul@belmankraul.com --pkggroup=git --nodoc -y --install=no --backup=no
FROM webdevops/php-nginx:ubuntu-14.04
MAINTAINER Belman Kraul <bkraul@belmankraul.com>
COPY --from=BUILDER /tmp/git-build/git_2.24.0-1_amd64.deb /tmp/
RUN set -x \
&& apt update \
# install pre-requisites.
&& apt install smbclient samba-common -y \
&& apt remove -y git git-man liberror-perl \
&& dpkg -i "/tmp/git_2.24.0-1_amd64.deb" \
&& rm "/tmp/git_2.24.0-1_amd64.deb" \
# perform image cleanup.
&& docker-run-bootstrap \
&& docker-image-cleanup