Commit 08d69f9b authored by Erick Hitter's avatar Erick Hitter

Merge branch 'add/buster' into 'master'

Add buster image

See merge request !8
parents ae008b76 5df5f81e
Pipeline #734 passed with stages
in 1 minute and 53 seconds
...@@ -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-buster-build-master:
stage: deploy
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/debian:buster" ./debian/buster
- docker push "$CI_REGISTRY_IMAGE/debian:buster"
only:
- master
when: manual
build-debian-buster-build-dev:
stage: deploy
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/debian:buster-dev" ./debian/buster
- docker push "$CI_REGISTRY_IMAGE/debian:buster-dev"
except:
- master
# Debian Stretch builds # Debian Stretch builds
build-debian-stretch-build-master: build-debian-stretch-build-master:
......
FROM debian:buster
LABEL maintainer="ethitter"
LABEL version="1.0"
RUN echo "deb http://security.debian.org/ buster/updates main" >> /etc/apt/sources.list
RUN apt-get update \
&& apt-get -y --no-install-recommends install \
apt-transport-https \
lsb-release \
ca-certificates \
curl \
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/*
...@@ -6,19 +6,11 @@ LABEL version="1.0" ...@@ -6,19 +6,11 @@ LABEL version="1.0"
RUN echo "deb http://security.debian.org/ jessie/updates main" >> /etc/apt/sources.list RUN echo "deb http://security.debian.org/ jessie/updates main" >> /etc/apt/sources.list
RUN apt-get update \ RUN apt-get update \
&& apt-get -yqqf --no-install-recommends install \ && apt-get -y --no-install-recommends install \
apt-transport-https \ apt-transport-https \
lsb-release \ lsb-release \
ca-certificates \ ca-certificates \
curl \ 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 \ git \
dh-make \ dh-make \
build-essential \ build-essential \
......
...@@ -6,19 +6,11 @@ LABEL version="1.0" ...@@ -6,19 +6,11 @@ LABEL version="1.0"
RUN echo "deb http://security.debian.org/ stretch/updates main" >> /etc/apt/sources.list RUN echo "deb http://security.debian.org/ stretch/updates main" >> /etc/apt/sources.list
RUN apt-get update \ RUN apt-get update \
&& apt-get -yqqf --no-install-recommends install \ && apt-get -y --no-install-recommends install \
apt-transport-https \ apt-transport-https \
lsb-release \ lsb-release \
ca-certificates \ ca-certificates \
curl \ 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 \ git \
dh-make \ dh-make \
build-essential \ build-essential \
......
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