Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dbld: add support for Debian stretch
Signed-off-by: Balazs Scheidler <balazs.scheidler@oneidentity.com>
- Loading branch information
Showing
6 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,3 +52,4 @@ dh-systemd | |
docbook | ||
docbook-xsl | ||
dh-exec | ||
gnupg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# required for autogen | ||
|
||
# required for configure | ||
libsystemd-dev | ||
openjdk-8-jdk | ||
|
||
# required for make | ||
|
||
# required for make check | ||
|
||
# other tools | ||
|
||
# debian packaging tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
libbson-dev | ||
libmongoc-dev | ||
librabbitmq-dev | ||
libriemann-client-dev | ||
python-pep8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
nose | ||
ply | ||
pep8 | ||
pylint | ||
astroid | ||
logilab-common |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
FROM debian:stretch | ||
ARG DISTRO=stretch | ||
ARG OBS_REPO=Debian_9.0 | ||
|
||
LABEL maintainer="Andras Mitzki <andras.mitzki@balabit.com>, Laszlo Szemere <laszlo.szemere@balabit.com>" | ||
|
||
COPY helpers/* /helpers/ | ||
|
||
# Install packages | ||
RUN apt-get update -qq && apt-get install --no-install-recommends -y \ | ||
python-pip \ | ||
python-setuptools \ | ||
wget | ||
|
||
COPY required-pip/all.txt required-pip/${DISTRO}*.txt /required-pip/ | ||
RUN cat /required-pip/* | grep -v '^$\|^#' | xargs pip install | ||
|
||
COPY required-apt/all.txt required-apt/${DISTRO}*.txt /required-apt/ | ||
RUN cat /required-apt/* | grep -v '^$\|^#' | xargs apt-get install --no-install-recommends -y | ||
|
||
RUN /helpers/functions.sh add_obs_repo ${OBS_REPO} | ||
COPY required-obs/all.txt required-obs/${DISTRO}*.txt /required-obs/ | ||
RUN cat /required-obs/* | grep -v '^$\|^#' | xargs apt-get install --no-install-recommends -y | ||
|
||
|
||
# grab gosu for easy step-down from root | ||
RUN /helpers/functions.sh step_down_from_root_with_gosu $(dpkg --print-architecture) | ||
|
||
|
||
# add a fake sudo command | ||
RUN mv /helpers/fake-sudo.sh /usr/bin/sudo | ||
|
||
|
||
# mount points for source code | ||
RUN mkdir /source | ||
VOLUME /source | ||
VOLUME /build | ||
|
||
|
||
ENTRYPOINT ["/helpers/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
dbld/images/required-pip/all.txt | ||
dbld/images/required-pip/trusty.txt |