Added new alpine variants

This commit is contained in:
bkraul committed 2020-11-04 23:50:39 -06:00
1 parent 0cb27de924
commit f9e6a4ffee
11 files changed
+444 -3

No files matched your search

+15 -2
View File
@@ -1,10 +1,23 @@
FROM webdevops/php-nginx:ubuntu-14.04
MAINTAINER Belman Kraul <[email protected]>
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=[email protected] --pkggroup=git --nodoc -y --install=no --backup=no
FROM webdevops/php-nginx:ubuntu-14.04
MAINTAINER Belman Kraul <[email protected]>
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