Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Images
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker
Images
Commits
ae008b76
Commit
ae008b76
authored
6 years ago
by
Erick Hitter
Browse files
Options
Downloads
Plain Diff
Merge branch 'add/debian-stretch' into 'master'
Add Stretch See merge request
!7
parents
d2423228
e85008ff
Branches
Branches containing commit
No related tags found
1 merge request
!7
Add Stretch
Pipeline
#575
passed
6 years ago
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+18
-0
18 additions, 0 deletions
.gitlab-ci.yml
debian/stretch/Dockerfile
+33
-0
33 additions, 0 deletions
debian/stretch/Dockerfile
with
51 additions
and
0 deletions
.gitlab-ci.yml
+
18
−
0
View file @
ae008b76
...
@@ -48,6 +48,24 @@ build-golang-dev:
...
@@ -48,6 +48,24 @@ build-golang-dev:
-
docker push "$CI_REGISTRY_IMAGE/golang:latest-dev"
-
docker push "$CI_REGISTRY_IMAGE/golang:latest-dev"
except
:
except
:
-
master
-
master
# Debian Stretch builds
build-debian-stretch-build-master
:
stage
:
deploy
script
:
-
docker build --pull -t "$CI_REGISTRY_IMAGE/debian:stretch" ./debian/stretch
-
docker push "$CI_REGISTRY_IMAGE/debian:stretch"
only
:
-
master
when
:
manual
build-debian-stretch-build-dev
:
stage
:
deploy
script
:
-
docker build --pull -t "$CI_REGISTRY_IMAGE/debian:stretch-dev" ./debian/stretch
-
docker push "$CI_REGISTRY_IMAGE/debian:stretch-dev"
except
:
-
master
# Debian Jessie builds
# Debian Jessie builds
build-debian-jessie-build-master
:
build-debian-jessie-build-master
:
...
...
This diff is collapsed.
Click to expand it.
debian/stretch/Dockerfile
0 → 100644
+
33
−
0
View file @
ae008b76
FROM
debian:stretch
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
-yqqf
--no-install-recommends
install
\
apt-transport-https
\
lsb-release
\
ca-certificates
\
curl
\
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
curl
-ssL
-o
/etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
RUN
echo
"deb https://packages.sury.org/php/
$(
lsb_release
-sc
)
main"
>
/etc/apt/sources.list.d/php.list
RUN
apt-get update
\
&&
apt-get
-y
--no-install-recommends
install
\
git
\
dh-make
\
build-essential
\
autoconf
\
autotools-dev
\
libpcre3
\
libpcre3-dev
\
libz-dev
\
gnupg
\
libssl-dev
\
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment