Commit ae008b76 authored by Erick Hitter's avatar Erick Hitter

Merge branch 'add/debian-stretch' into 'master'

Add Stretch

See merge request !7
parents d2423228 e85008ff
Pipeline #575 passed with stages
in 7 minutes and 25 seconds
......@@ -49,6 +49,24 @@ build-golang-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:
stage: deploy
......
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/*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment