mirror of
https://git.netzspielplatz.de/docker-multiarch/wordpress-fpm-alpine-webp.git
synced 2025-11-08 17:19:26 +00:00
Initial commit
This commit is contained in:
commit
5eb17a48f8
2 changed files with 35 additions and 0 deletions
22
.gitlab-ci.yml
Normal file
22
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
image: docker:19.03.1
|
||||||
|
services:
|
||||||
|
- docker:19.03.1-dind
|
||||||
|
variables:
|
||||||
|
DOCKER_DRIVER: overlay
|
||||||
|
DOCKER_TLS_CERTDIR: ""
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
|
||||||
|
build:
|
||||||
|
image: docker:19.03.1
|
||||||
|
stage: build
|
||||||
|
services:
|
||||||
|
- docker:19.03.1-dind
|
||||||
|
variables:
|
||||||
|
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
|
||||||
|
script:
|
||||||
|
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||||
|
- docker build -t $IMAGE_TAG .
|
||||||
|
- docker push $IMAGE_TAG
|
||||||
|
- docker build -t $CI_REGISTRY_IMAGE:latest .
|
||||||
|
- docker push $CI_REGISTRY_IMAGE:latest
|
||||||
13
Dockerfile
Normal file
13
Dockerfile
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
FROM wordpress:fpm-alpine
|
||||||
|
|
||||||
|
RUN apk update && apk add --no-cache freetype-dev \
|
||||||
|
libjpeg-turbo-dev \
|
||||||
|
libwebp-dev \
|
||||||
|
libpng-dev \
|
||||||
|
libwebp-tools \
|
||||||
|
curl-dev
|
||||||
|
|
||||||
|
RUN docker-php-ext-configure gd --with-freetype --with-webp --with-jpeg && \
|
||||||
|
docker-php-ext-install gd
|
||||||
|
|
||||||
|
RUN docker-php-ext-install curl
|
||||||
Loading…
Add table
Add a link
Reference in a new issue