Commit 8be34dd2 authored by Erick Hitter's avatar Erick Hitter

Merge branch 'add/debian-image' into 'master'

Introduce slim image for WP.org plugin deploys

See merge request !12
parents 7b614b29 780f0a57
Pipeline #851 passed with stages
in 1 minute and 25 seconds
...@@ -49,7 +49,7 @@ build-golang-dev: ...@@ -49,7 +49,7 @@ build-golang-dev:
except: except:
- master - master
# Debian Stretch builds # Debian Busters builds
build-debian-buster-build-master: build-debian-buster-build-master:
stage: deploy stage: deploy
script: script:
...@@ -66,7 +66,7 @@ build-debian-buster-build-dev: ...@@ -66,7 +66,7 @@ build-debian-buster-build-dev:
- docker push "$CI_REGISTRY_IMAGE/debian:buster-dev" - docker push "$CI_REGISTRY_IMAGE/debian:buster-dev"
except: except:
- master - master
# Debian Stretch builds # Debian Stretch builds
build-debian-stretch-build-master: build-debian-stretch-build-master:
stage: deploy stage: deploy
...@@ -103,6 +103,24 @@ build-debian-jessie-build-dev: ...@@ -103,6 +103,24 @@ build-debian-jessie-build-dev:
except: except:
- master - master
# Debian WP.org Plugin deploy builds
build-debian-wp-org-deploy-build-master:
stage: deploy
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/debian:wp-org-deploy" ./debian/wp-org-deploy
- docker push "$CI_REGISTRY_IMAGE/debian:wp-org-deploy"
only:
- master
when: manual
build-debian-wp-org-deploy-build-dev:
stage: deploy
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/debian:wp-org-deploy-dev" ./debian/wp-org-deploy
- docker push "$CI_REGISTRY_IMAGE/debian:wp-org-deploy-dev"
except:
- master
# PHP 7.3 # PHP 7.3
build-php-7.3-master: build-php-7.3-master:
stage: deploy stage: deploy
......
FROM debian:stretch-slim
LABEL maintainer="ethitter"
LABEL version="1.0"
RUN echo "deb http://security.debian.org/ stretch/updates main" >> /etc/apt/sources.list
RUN apt-get update \
&& apt-get -y --no-install-recommends install \
ca-certificates \
curl \
git \
rsync \
subversion \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment