Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Images
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
1
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
e85008ff
Commit
e85008ff
authored
6 years ago
by
Erick Hitter
Browse files
Options
Downloads
Patches
Plain Diff
Add stretch build
THis is purely copy-pasta from the Jessie build.
parent
d2423228
No related branches found
Branches containing commit
No related tags found
1 merge request
!7
Add Stretch
Pipeline
#573
passed with stages
in 7 minutes and 30 seconds
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 @
e85008ff
...
...
@@ -48,6 +48,24 @@ build-golang-dev:
-
docker push "$CI_REGISTRY_IMAGE/golang:latest-dev"
except
:
-
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
build-debian-jessie-build-master
:
...
...
This diff is collapsed.
Click to expand it.
debian/stretch/Dockerfile
0 → 100644
+
33
−
0
View file @
e85008ff
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