Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
I
Images
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Docker
Images
Commits
f10563ed
Commit
f10563ed
authored
Feb 24, 2019
by
Erick Hitter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use correct image for CI
https://github.com/koalaman/shellcheck/issues/1069
parent
c47ec0b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
1 deletion
+60
-1
.gitlab-ci.yml
.gitlab-ci.yml
+27
-1
debian/jessie/Dockerfile
debian/jessie/Dockerfile
+33
-0
No files found.
.gitlab-ci.yml
View file @
f10563ed
...
...
@@ -10,7 +10,7 @@ before_script:
# TESTS
#
lint
_
dockerfile
:
lint
-
dockerfile
:
stage
:
test
image
:
hadolint/hadolint:latest-debian
before_script
:
...
...
@@ -19,6 +19,14 @@ lint_dockerfile:
script
:
-
find . -name "Dockerfile" -execdir hadolint {} \;
lint-shell-script
:
stage
:
test
image
:
koalaman/shellcheck-alpine:latest
before_script
:
-
shellcheck -V
script
:
-
find . -name "*.sh" -exec shellcheck {} \;
#
# IMAGE BUILDS/PUSHES
#
...
...
@@ -41,6 +49,24 @@ build-golang-dev:
except
:
-
master
# Debian Jessie builds
build-debian-jessie-build-master
:
stage
:
deploy
script
:
-
docker build --pull -t "$CI_REGISTRY_IMAGE/debian:jessie" ./debian/jessie
-
docker push "$CI_REGISTRY_IMAGE/debian:jessie"
only
:
-
master
when
:
manual
build-debian-jessie-build-dev
:
stage
:
deploy
script
:
-
docker build --pull -t "$CI_REGISTRY_IMAGE/debian:jessie-dev" ./debian/jessie
-
docker push "$CI_REGISTRY_IMAGE/debian:jessie-dev"
except
:
-
master
# PHP 7.3
build-php-7.3-master
:
stage
:
deploy
...
...
debian/jessie/Dockerfile
0 → 100644
View file @
f10563ed
FROM
debian:jessie
LABEL
maintainer="ethitter"
LABEL
version="1.0"
RUN
echo
"deb http://security.debian.org/ jessie/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/
*
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