Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
I
Images
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Docker
Images
Commits
780f0a57
Commit
780f0a57
authored
Apr 15, 2019
by
Erick Hitter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Slim image for WP.org plugin deploys
parent
7b614b29
Pipeline
#850
passed with stages
in 9 minutes and 47 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
2 deletions
+36
-2
.gitlab-ci.yml
.gitlab-ci.yml
+20
-2
debian/wp-org-deploy/Dockerfile
debian/wp-org-deploy/Dockerfile
+16
-0
No files found.
.gitlab-ci.yml
View file @
780f0a57
...
...
@@ -49,7 +49,7 @@ build-golang-dev:
except
:
-
master
# Debian
Stretch
builds
# Debian
Busters
builds
build-debian-buster-build-master
:
stage
:
deploy
script
:
...
...
@@ -66,7 +66,7 @@ build-debian-buster-build-dev:
-
docker push "$CI_REGISTRY_IMAGE/debian:buster-dev"
except
:
-
master
# Debian Stretch builds
build-debian-stretch-build-master
:
stage
:
deploy
...
...
@@ -103,6 +103,24 @@ build-debian-jessie-build-dev:
except
:
-
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
build-php-7.3-master
:
stage
:
deploy
...
...
debian/wp-org-deploy/Dockerfile
0 → 100644
View file @
780f0a57
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/
*
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment