Skip to content

Commit

Permalink
Merge pull request #2176 from wazuh/2175-fix-debian-stretch-containers
Browse files Browse the repository at this point in the history
Fix the generation of ARM64/ARM32/PPC64LE deb packages
  • Loading branch information
teddytpc1 authored Apr 28, 2023
2 parents 99adcc5 + f79bd76 commit d83fcd4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions debs/Debian/arm64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ FROM arm64v8/debian:stretch
ENV DEBIAN_FRONTEND noninteractive

# Installing necessary packages
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 && \
RUN echo "deb http://archive.debian.org/debian stretch contrib main non-free" > /etc/apt/sources.list && \
echo "deb http://archive.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list && \
echo "deb-src http://archive.debian.org/debian stretch main" >> /etc/apt/sources.list && \
apt-get update && apt-get install -y --allow-change-held-packages apt apt-utils \
curl gcc g++ make sudo expect gnupg \
perl-base perl wget libc-bin libc6 libc6-dev \
Expand Down
5 changes: 3 additions & 2 deletions debs/Debian/armhf/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ FROM arm32v7/debian:stretch
ENV DEBIAN_FRONTEND noninteractive

# Installing necessary packages
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 && \
RUN echo "deb http://archive.debian.org/debian stretch contrib main non-free" > /etc/apt/sources.list && \
echo "deb http://archive.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list && \
echo "deb-src http://archive.debian.org/debian stretch main" >> /etc/apt/sources.list && \
apt-get update && apt-get install -y --allow-change-held-packages apt-utils \
curl gcc make wget sudo expect gnupg perl-base \
perl libc-bin libc6 libc6-dev \
Expand Down
7 changes: 3 additions & 4 deletions debs/Debian/ppc64le/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ FROM ppc64le/debian:stretch

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get -v

# Installing necessary packages
RUN echo "deb http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list && \
echo "deb-src http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list && \
RUN echo "deb http://archive.debian.org/debian stretch contrib main non-free" > /etc/apt/sources.list && \
echo "deb http://archive.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list && \
echo "deb-src http://archive.debian.org/debian stretch main" >> /etc/apt/sources.list && \
apt-get update && apt-get install -y --allow-change-held-packages apt-utils && \
apt-get install -y --allow-change-held-packages \
curl gcc make sudo expect gnupg perl-base perl wget \
Expand Down

0 comments on commit d83fcd4

Please sign in to comment.