mirror of
https://github.com/linuxserver/docker-cops.git
synced 2026-02-19 18:51:05 +08:00
bump alpine 3.7
This commit is contained in:
parent
cecf2b79dc
commit
09b274463e
18
Dockerfile
18
Dockerfile
@ -1,18 +1,17 @@
|
||||
FROM lsiobase/alpine.nginx:3.6
|
||||
MAINTAINER chbmb
|
||||
FROM lsiobase/alpine.nginx:3.7
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||
LABEL maintainer="chbmb"
|
||||
|
||||
# install build packages
|
||||
RUN \
|
||||
echo "**** install build packages ****" && \
|
||||
apk add --no-cache --virtual=build-dependencies \
|
||||
curl \
|
||||
tar && \
|
||||
|
||||
# install runtime packages
|
||||
echo "**** install runtime packages ****" && \
|
||||
apk add --no-cache \
|
||||
php7-dom \
|
||||
php7-gd \
|
||||
@ -24,16 +23,14 @@ RUN \
|
||||
php7-pdo_sqlite \
|
||||
php7-zip \
|
||||
php7-zlib && \
|
||||
|
||||
# install composer
|
||||
echo "**** install composer ****" && \
|
||||
ln -sf /usr/bin/php7 /usr/bin/php && \
|
||||
curl \
|
||||
-sS https://getcomposer.org/installer \
|
||||
| php -- --install-dir=/usr/bin --filename=composer && \
|
||||
composer \
|
||||
global require "fxp/composer-asset-plugin:~1.1" && \
|
||||
|
||||
# install cops
|
||||
echo "**** install cops ****" && \
|
||||
COPS_VER=$(curl -sX GET "https://api.github.com/repos/seblucas/cops/releases/latest" \
|
||||
| awk '/tag_name/{print $4;exit}' FS='[""]') && \
|
||||
curl -o \
|
||||
@ -46,8 +43,7 @@ RUN \
|
||||
cd /usr/share/webapps/cops && \
|
||||
composer \
|
||||
install --no-dev --optimize-autoloader && \
|
||||
|
||||
# cleanup
|
||||
echo "**** cleanup ****" && \
|
||||
apk del --purge \
|
||||
build-dependencies && \
|
||||
rm -rf \
|
||||
|
||||
@ -110,7 +110,8 @@ Unlike other implementations of COPS in a docker container, the linuxserver ver
|
||||
|
||||
## Versions
|
||||
|
||||
+ **25.05.17:** Rebase to alpine linux nginx 3.6.
|
||||
+ **08.01.18:** Rebase to alpine 3.7.
|
||||
+ **25.05.17:** Rebase to alpine 3.6.
|
||||
+ **03.04.17:** Add composer packages, reduce layers.
|
||||
+ **02.04.17:** Updated to version 1.1.0.
|
||||
+ **05.02.17:** Updated to Alpine 3.5 & PHP7.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user