Skip to content
Snippets Groups Projects
Commit 3b524cb0 authored by Erick Hitter's avatar Erick Hitter
Browse files

Begin a Debian Jessie build environment, ultimately for nginx builds

parent c47ec0b2
No related branches found
No related tags found
1 merge request!6Add Debian Jessie build image
Pipeline #527 failed
...@@ -10,7 +10,7 @@ before_script: ...@@ -10,7 +10,7 @@ before_script:
# TESTS # TESTS
# #
lint_dockerfile: lint-dockerfile:
stage: test stage: test
image: hadolint/hadolint:latest-debian image: hadolint/hadolint:latest-debian
before_script: before_script:
...@@ -41,6 +41,24 @@ build-golang-dev: ...@@ -41,6 +41,24 @@ build-golang-dev:
except: except:
- master - 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/deiban:jessie-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:jessie
ADD setup.sh /opt/
RUN /bin/bash /opt/setup.sh
#!/bin/sh
echo "deb http://security.debian.org/ jessie/updates main" >> /etc/apt/sources.list
apt-get update
apt-get -y install git dh-make build-essential autoconf autotools-dev
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment