Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

did not delete in original areas #1

Closed
wants to merge 17 commits into from
39 changes: 39 additions & 0 deletions libnss-aad/debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
FROM debian:11.0
ARG VERSION
ARG DEBVER

RUN echo "deb http://http.us.debian.org/debian bullseye main" \
>> /etc/apt/sources.list && \
apt update && apt install -y \
automake \
autopoint \
build-essential \
cmake \
curl \
debhelper \
devscripts \
git \
indent \
libcurl4-openssl-dev \
libjansson-dev \
libjwt-dev \
libsodium-dev \
libssl-dev \
libtool \
libxcrypt-dev \
pkg-config \
quilt

ENV SDSMIRROR="https://gitlab.com/oxr463/sds/-/jobs/210491217/artifacts/raw" \
SDSVERSION="2.0.0" SDSDEBVERSION="2.0.0-1"
WORKDIR /tmp
RUN curl -LO "${SDSMIRROR}/libsds${SDSVERSION}_${SDSDEBVERSION}_amd64.deb" && \
curl -LO "${SDSMIRROR}/libsds-dev_${SDSDEBVERSION}_amd64.deb" && \
dpkg -i "libsds${SDSVERSION}_${SDSDEBVERSION}_amd64.deb" && \
dpkg -i "libsds-dev_${SDSDEBVERSION}_amd64.deb"

WORKDIR /usr/src/libnss_aad
COPY . /usr/src/libnss_aad
RUN tar cvzf "../libnss-aad_${VERSION}.orig.tar.gz" --exclude='.git*' . && \
debuild -us -uc -i'.git' && \
dpkg -i "../libnss-aad_${VERSION}-${DEBVER}_amd64.deb"
70 changes: 70 additions & 0 deletions libnss-aad/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
FROM ubuntu:20.04
ARG VERSION
ARG DEBVER

RUN echo "deb http://http.us.debian.org/debian bullseye main" \
>> /etc/apt/sources.list && \
apt update && apt install -y \
automake \
autopoint \
build-essential \
cmake \
curl \
debhelper \
devscripts \
git \
indent \
libcurl4-openssl-dev \
libjansson-dev \
libjwt-dev \
libsodium-dev \
libssl-dev \
libtool \
libxcrypt-dev \
pkg-config \
quilt

ENV SDSMIRROR="https://gitlab.com/oxr463/sds/-/jobs/210491217/artifacts/raw" \
SDSVERSION="2.0.0" SDSDEBVERSION="2.0.0-1"
WORKDIR /tmp
RUN curl -LO "${SDSMIRROR}/libsds${SDSVERSION}_${SDSDEBVERSION}_amd64.deb" && \
curl -LO "${SDSMIRROR}/libsds-dev_${SDSDEBVERSION}_amd64.deb" && \
dpkg -i "libsds${SDSVERSION}_${SDSDEBVERSION}_amd64.deb" && \
dpkg -i "libsds-dev_${SDSDEBVERSION}_amd64.deb"

WORKDIR /usr/src/libnss_aad
COPY . /usr/src/libnss_aad
RUN tar cvzf "../libnss-aad_${VERSION}.orig.tar.gz" --exclude='.git*' . && \
debuild -us -uc -i'.git' && \
dpkg -i "../libnss-aad_${VERSION}-${DEBVER}_amd64.deb"
RUN apt update && apt install -y \
software-properties-common && \
add-apt-repository -y ppa:lramage/sds && \
add-apt-repository -y ppa:jnchi/ppa

RUN apt update && apt install -y \
automake \
autopoint \
build-essential \
cmake \
curl \
debhelper \
devscripts \
git \
indent \
libcurl4-openssl-dev \
libjansson-dev \
libjwt-dev \
libsds-dev \
libsodium-dev \
libssl-dev \
libtool \
libxcrypt-dev \
pkg-config \
quilt

WORKDIR /usr/src/libnss_aad
COPY . /usr/src/libnss_aad
RUN tar cvzf "../libnss-aad_${VERSION}.orig.tar.gz" --exclude='.git*' . && \
debuild -us -uc -i'.git' && \
dpkg -i "../libnss-aad_${VERSION}-${DEBVER}_amd64.deb"
19 changes: 19 additions & 0 deletions openvpn-auth-aad/debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM openvpn_auth_aad/debian/Dockerfile
oxr463 marked this conversation as resolved.
Show resolved Hide resolved
ARG VERSION
ARG DEBVER

RUN apt-get update -qq && apt-get install -y \
liblz4-dev \
liblzo2-dev \
openvpn \
wget

WORKDIR /usr/src/openvpn-auth-aad
COPY . /usr/src/openvpn-auth-aad
RUN useradd -m dev -s /bin/bash && \
chown -R dev:dev /usr/src/openvpn-auth-aad

RUN tar cvzf "../openvpn-auth-aad_${VERSION}.orig.tar.gz" --exclude='.git*' . && \
debuild -us -uc -d -i'(.*)' && \
dpkg -i "../openvpn-auth-aad_${VERSION}-${DEBVER}_amd64.deb"

19 changes: 19 additions & 0 deletions openvpn-auth-aad/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM openvpn_auth_aad/ubuntu/Dockerfile
ARG VERSION
ARG DEBVER

RUN apt-get update -qq && apt-get install -y \
liblz4-dev \
liblzo2-dev \
openvpn \
wget

WORKDIR /usr/src/openvpn-auth-aad
COPY . /usr/src/openvpn-auth-aad
RUN useradd -m dev -s /bin/bash && \
chown -R dev:dev /usr/src/openvpn-auth-aad

RUN tar cvzf "../openvpn-auth-aad_${VERSION}.orig.tar.gz" --exclude='.git*' . && \
debuild -us -uc -d -i'(.*)' && \
dpkg -i "../openvpn-auth-aad_${VERSION}-${DEBVER}_amd64.deb"

37 changes: 37 additions & 0 deletions pam_aad/debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
FROM pam_aad/debian/Dockerfile
ARG VERSION
ARG DEBVER

RUN echo "deb http://http.us.debian.org/debian bullseye main" \
>> /etc/apt/sources.list && \
apt update && apt install -y \
automake \
build-essential \
curl \
debhelper \
devscripts \
git \
indent \
libcurl4-openssl-dev \
libjansson-dev \
libjwt-dev \
libpam0g-dev \
libssl-dev \
libtool \
pkg-config \
quilt \
uuid-dev

ENV SDSMIRROR="https://gitlab.com/oxr463/sds/-/jobs/210491217/artifacts/raw" \
SDSVERSION="2.0.0" SDSDEBVERSION="2.0.0-1"
WORKDIR /tmp
RUN curl -LO "${SDSMIRROR}/libsds${SDSVERSION}_${SDSDEBVERSION}_amd64.deb" && \
curl -LO "${SDSMIRROR}/libsds-dev_${SDSDEBVERSION}_amd64.deb" && \
dpkg -i "libsds${SDSVERSION}_${SDSDEBVERSION}_amd64.deb" && \
dpkg -i "libsds-dev_${SDSDEBVERSION}_amd64.deb"

WORKDIR /usr/src/pam_aad
COPY . /usr/src/pam_aad
RUN tar cvzf "../pam-aad_${VERSION}.orig.tar.gz" --exclude='.git*' . && \
debuild -us -uc -d -i'(.*)' && \
dpkg -i "../libpam-aad_${VERSION}-${DEBVER}_amd64.deb"
32 changes: 32 additions & 0 deletions pam_aad/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
FROM ubuntu:20.04
ARG VERSION
ARG DEBVER

RUN apt update && apt install -y \
software-properties-common && \
add-apt-repository -y ppa:lramage/sds

RUN apt update && apt install -y \
automake \
build-essential \
curl \
debhelper \
devscripts \
git \
indent \
libcurl4-openssl-dev \
libjansson-dev \
libjwt-dev \
libpam0g-dev \
libsds-dev \
libssl-dev \
libtool \
pkg-config \
quilt \
uuid-dev

WORKDIR /usr/src/pam_aad
COPY . /usr/src/pam_aad
RUN tar cvzf "../pam-aad_${VERSION}.orig.tar.gz" --exclude='.git*' . && \
debuild -us -uc -d -i'(.*)' && \
dpkg -i "../libpam-aad_${VERSION}-${DEBVER}_amd64.deb"