Added new alpine variants
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user