Skip to content

bump to stretch, ensure ssl-dev is installed #2131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions debs/Debian/amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
FROM debian:7
FROM --platform=linux/amd64 debian:stretch
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency, please use the flag --platform or use the format architecture/debian:stretch in all Debian Dockerfiles


ENV DEBIAN_FRONTEND noninteractive

# Installing necessary packages
RUN echo "deb http://archive.debian.org/debian/ wheezy contrib main non-free" > /etc/apt/sources.list && \
echo "deb-src http://archive.debian.org/debian/ wheezy contrib main non-free" >> /etc/apt/sources.list && \
apt-get update && apt-get install -y apt-utils && \
apt-get install -y --force-yes \
curl gcc make sudo wget expect gnupg perl-base=5.14.2-21+deb7u3 perl \
libc-bin=2.13-38+deb7u10 libc6=2.13-38+deb7u10 libc6-dev build-essential \
cdbs devscripts equivs automake autoconf libtool libaudit-dev selinux-basics \
libdb5.1=5.1.29-5 libdb5.1-dev libssl1.0.0=1.0.1e-2+deb7u20 procps gawk libsigsegv2

RUN apt-get update && apt-get build-dep python3.2 -y
RUN echo "deb http://deb.debian.org/debian stretch contrib non-free" >> /etc/apt/sources.list && \
echo "deb-src http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list && \
apt-get update && apt-get install -y apt apt-utils \
curl gcc g++ make sudo expect gnupg \
perl-base perl wget libc-bin libc6 libc6-dev \
build-essential cdbs devscripts equivs automake \
autoconf libtool libaudit-dev selinux-basics \
libdb5.3 libdb5.3 libssl1.0.2 libssl1.0-dev gawk libsigsegv2

# Add Debian's source repository and, Install NodeJS 12
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this comment

RUN apt-get update && apt-get build-dep python3.5 -y

RUN curl -OL http://packages.wazuh.com/utils/gcc/gcc-9.4.0.tar.gz && \
tar xzf gcc-9.4.0.tar.gz && cd gcc-9.4.0/ && \
Expand Down
2 changes: 1 addition & 1 deletion debs/Debian/arm64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN echo "deb http://deb.debian.org/debian stretch contrib non-free" >> /etc/apt
perl-base perl wget libc-bin libc6 libc6-dev \
build-essential cdbs devscripts equivs automake \
autoconf libtool libaudit-dev selinux-basics \
libdb5.3 libdb5.3 libssl1.0.2 gawk libsigsegv2
libdb5.3 libdb5.3 libssl1.0.2 libssl1.0-dev gawk libsigsegv2

# Add Debian's source repository and, Install NodeJS 12
RUN apt-get update && apt-get build-dep python3.5 -y
Expand Down