Skip to content
Merged
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
22 changes: 2 additions & 20 deletions .github/docker/debian/bookworm/amd64/fse.release.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ ARG MAINTAINER_NAME="Andrey Volk"
ARG MAINTAINER_EMAIL="[email protected]"

ARG CODENAME=bookworm
ARG ARCH=amd64

# Credentials
ARG REPO_DOMAIN=fsa.freeswitch.com
ARG REPO_USERNAME=user

ARG BUILD_NUMBER=42
ARG GIT_SHA=0000000000
Expand Down Expand Up @@ -51,29 +46,16 @@ RUN apt-get -q update \
RUN update-ca-certificates --fresh

RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \
&& echo "export ARCH=${ARCH}" | tee -a ~/.env \
&& chmod +x ~/.env

RUN . ~/.env && cat <<EOF > /etc/apt/sources.list.d/freeswitch.list
deb https://${REPO_DOMAIN}/repo/deb/fsa ${CODENAME} 1.8
deb-src https://${REPO_DOMAIN}/repo/deb/fsa ${CODENAME} 1.8
EOF

RUN git config --global --add safe.directory '*' \
&& git config --global user.name "${MAINTAINER_NAME}" \
&& git config --global user.email "${MAINTAINER_EMAIL}"

RUN --mount=type=secret,id=REPO_PASSWORD,required=true \
printf "machine ${REPO_DOMAIN} " > /etc/apt/auth.conf && \
printf "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
printf "password " >> /etc/apt/auth.conf && \
cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \
sha512sum /run/secrets/REPO_PASSWORD && \
curl \
--fail \
--netrc-file /etc/apt/auth.conf \
https://${REPO_DOMAIN}/repo/deb/fsa/pubkey.gpg \
| apt-key add - && \
curl -sSL https://freeswitch.org/fsget | \
bash -s $(cat /run/secrets/REPO_PASSWORD) release && \
apt-get --quiet update && \
apt-get --yes --quiet install \
libexpat1-dev \
Expand Down
26 changes: 3 additions & 23 deletions .github/docker/debian/bookworm/amd64/public.release.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,10 @@ ARG MAINTAINER_NAME="Andrey Volk"
ARG MAINTAINER_EMAIL="[email protected]"

ARG CODENAME=bookworm
ARG ARCH=amd64

# Credentials
ARG REPO_DOMAIN=freeswitch.signalwire.com
ARG REPO_USERNAME=user

ARG BUILD_NUMBER=42
ARG GIT_SHA=0000000000

ARG GPG_KEY="/usr/share/keyrings/signalwire-freeswitch-repo.gpg"

ARG DATA_DIR=/data

LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>"
Expand Down Expand Up @@ -53,30 +46,16 @@ RUN apt-get -q update \
RUN update-ca-certificates --fresh

RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \
&& echo "export ARCH=${ARCH}" | tee -a ~/.env \
&& chmod +x ~/.env

RUN . ~/.env && cat <<EOF > /etc/apt/sources.list.d/freeswitch.list
deb [signed-by=${GPG_KEY}] https://${REPO_DOMAIN}/repo/deb/debian-release ${CODENAME} main
deb-src [signed-by=${GPG_KEY}] https://${REPO_DOMAIN}/repo/deb/debian-release ${CODENAME} main
EOF

RUN git config --global --add safe.directory '*' \
&& git config --global user.name "${MAINTAINER_NAME}" \
&& git config --global user.email "${MAINTAINER_EMAIL}"

RUN --mount=type=secret,id=REPO_PASSWORD,required=true \
printf "machine ${REPO_DOMAIN} " > /etc/apt/auth.conf && \
printf "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
printf "password " >> /etc/apt/auth.conf && \
cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \
sha512sum /run/secrets/REPO_PASSWORD && \
curl \
--fail \
--netrc-file /etc/apt/auth.conf \
--output ${GPG_KEY} \
https://${REPO_DOMAIN}/repo/deb/debian-release/signalwire-freeswitch-repo.gpg && \
file ${GPG_KEY} && \
curl -sSL https://freeswitch.org/fsget | \
bash -s $(cat /run/secrets/REPO_PASSWORD) prerelease && \
apt-get --quiet update && \
apt-get --yes --quiet install \
libexpat1-dev \
Expand Down Expand Up @@ -114,6 +93,7 @@ RUN ./bootstrap \
&& ./configure \
--with-sofia-sip=/usr \
&& make install

COPY . ${DATA_DIR}
WORKDIR ${DATA_DIR}

Expand Down
22 changes: 2 additions & 20 deletions .github/docker/debian/bookworm/arm32v7/fse.release.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ ARG MAINTAINER_NAME="Andrey Volk"
ARG MAINTAINER_EMAIL="[email protected]"

ARG CODENAME=bookworm
ARG ARCH=armhf

# Credentials
ARG REPO_DOMAIN=fsa.freeswitch.com
ARG REPO_USERNAME=user

ARG BUILD_NUMBER=42
ARG GIT_SHA=0000000000
Expand Down Expand Up @@ -51,29 +46,16 @@ RUN apt-get -q update \
RUN update-ca-certificates --fresh

RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \
&& echo "export ARCH=${ARCH}" | tee -a ~/.env \
&& chmod +x ~/.env

RUN . ~/.env && cat <<EOF > /etc/apt/sources.list.d/freeswitch.list
deb https://${REPO_DOMAIN}/repo/deb/fsa-rpi/ ${CODENAME} 1.8
deb-src https://${REPO_DOMAIN}/repo/deb/fsa-rpi/ ${CODENAME} 1.8
EOF

RUN git config --global --add safe.directory '*' \
&& git config --global user.name "${MAINTAINER_NAME}" \
&& git config --global user.email "${MAINTAINER_EMAIL}"

RUN --mount=type=secret,id=REPO_PASSWORD,required=true \
printf "machine ${REPO_DOMAIN} " > /etc/apt/auth.conf && \
printf "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
printf "password " >> /etc/apt/auth.conf && \
cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \
sha512sum /run/secrets/REPO_PASSWORD && \
curl \
--fail \
--netrc-file /etc/apt/auth.conf \
https://${REPO_DOMAIN}/repo/deb/fsa-rpi/pubkey.gpg \
| apt-key add - && \
curl -sSL https://freeswitch.org/fsget | \
bash -s $(cat /run/secrets/REPO_PASSWORD) release && \
apt-get --quiet update && \
apt-get --yes --quiet install \
libexpat1-dev \
Expand Down
26 changes: 3 additions & 23 deletions .github/docker/debian/bookworm/arm32v7/public.release.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,10 @@ ARG MAINTAINER_NAME="Andrey Volk"
ARG MAINTAINER_EMAIL="[email protected]"

ARG CODENAME=bookworm
ARG ARCH=arm32

# Credentials
ARG REPO_DOMAIN=freeswitch.signalwire.com
ARG REPO_USERNAME=user

ARG BUILD_NUMBER=42
ARG GIT_SHA=0000000000

ARG GPG_KEY="/usr/share/keyrings/signalwire-freeswitch-repo.gpg"

ARG DATA_DIR=/data

LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>"
Expand Down Expand Up @@ -53,30 +46,16 @@ RUN apt-get -q update \
RUN update-ca-certificates --fresh

RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \
&& echo "export ARCH=${ARCH}" | tee -a ~/.env \
&& chmod +x ~/.env

RUN . ~/.env && cat <<EOF > /etc/apt/sources.list.d/freeswitch.list
deb [signed-by=${GPG_KEY}] https://${REPO_DOMAIN}/repo/deb/rpi/debian-release ${CODENAME} main
deb-src [signed-by=${GPG_KEY}] https://${REPO_DOMAIN}/repo/deb/rpi/debian-release ${CODENAME} main
EOF

RUN git config --global --add safe.directory '*' \
&& git config --global user.name "${MAINTAINER_NAME}" \
&& git config --global user.email "${MAINTAINER_EMAIL}"

RUN --mount=type=secret,id=REPO_PASSWORD,required=true \
printf "machine ${REPO_DOMAIN} " > /etc/apt/auth.conf && \
printf "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
printf "password " >> /etc/apt/auth.conf && \
cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \
sha512sum /run/secrets/REPO_PASSWORD && \
curl \
--fail \
--netrc-file /etc/apt/auth.conf \
--output ${GPG_KEY} \
https://${REPO_DOMAIN}/repo/deb/rpi/debian-release/signalwire-freeswitch-repo.gpg && \
file ${GPG_KEY} && \
curl -sSL https://freeswitch.org/fsget | \
bash -s $(cat /run/secrets/REPO_PASSWORD) prerelease && \
apt-get --quiet update && \
apt-get --yes --quiet install \
libexpat1-dev \
Expand Down Expand Up @@ -114,6 +93,7 @@ RUN ./bootstrap \
&& ./configure \
--with-sofia-sip=/usr \
&& make install

COPY . ${DATA_DIR}
WORKDIR ${DATA_DIR}

Expand Down
22 changes: 2 additions & 20 deletions .github/docker/debian/bookworm/arm64v8/fse.release.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ ARG MAINTAINER_NAME="Andrey Volk"
ARG MAINTAINER_EMAIL="[email protected]"

ARG CODENAME=bookworm
ARG ARCH=arm64

# Credentials
ARG REPO_DOMAIN=fsa.freeswitch.com
ARG REPO_USERNAME=user

ARG BUILD_NUMBER=42
ARG GIT_SHA=0000000000
Expand Down Expand Up @@ -51,29 +46,16 @@ RUN apt-get -q update \
RUN update-ca-certificates --fresh

RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \
&& echo "export ARCH=${ARCH}" | tee -a ~/.env \
&& chmod +x ~/.env

RUN . ~/.env && cat <<EOF > /etc/apt/sources.list.d/freeswitch.list
deb https://${REPO_DOMAIN}/repo/deb/fsa ${CODENAME} 1.8
deb-src https://${REPO_DOMAIN}/repo/deb/fsa ${CODENAME} 1.8
EOF

RUN git config --global --add safe.directory '*' \
&& git config --global user.name "${MAINTAINER_NAME}" \
&& git config --global user.email "${MAINTAINER_EMAIL}"

RUN --mount=type=secret,id=REPO_PASSWORD,required=true \
printf "machine ${REPO_DOMAIN} " > /etc/apt/auth.conf && \
printf "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
printf "password " >> /etc/apt/auth.conf && \
cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \
sha512sum /run/secrets/REPO_PASSWORD && \
curl \
--fail \
--netrc-file /etc/apt/auth.conf \
https://${REPO_DOMAIN}/repo/deb/fsa/pubkey.gpg \
| apt-key add - && \
curl -sSL https://freeswitch.org/fsget | \
bash -s $(cat /run/secrets/REPO_PASSWORD) release && \
apt-get --quiet update && \
apt-get --yes --quiet install \
libexpat1-dev \
Expand Down
26 changes: 3 additions & 23 deletions .github/docker/debian/bookworm/arm64v8/public.release.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,10 @@ ARG MAINTAINER_NAME="Andrey Volk"
ARG MAINTAINER_EMAIL="[email protected]"

ARG CODENAME=bookworm
ARG ARCH=arm64

# Credentials
ARG REPO_DOMAIN=freeswitch.signalwire.com
ARG REPO_USERNAME=user

ARG BUILD_NUMBER=42
ARG GIT_SHA=0000000000

ARG GPG_KEY="/usr/share/keyrings/signalwire-freeswitch-repo.gpg"

ARG DATA_DIR=/data

LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>"
Expand Down Expand Up @@ -53,30 +46,16 @@ RUN apt-get -q update \
RUN update-ca-certificates --fresh

RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \
&& echo "export ARCH=${ARCH}" | tee -a ~/.env \
&& chmod +x ~/.env

RUN . ~/.env && cat <<EOF > /etc/apt/sources.list.d/freeswitch.list
deb [signed-by=${GPG_KEY}] https://${REPO_DOMAIN}/repo/deb/debian-release ${CODENAME} main
deb-src [signed-by=${GPG_KEY}] https://${REPO_DOMAIN}/repo/deb/debian-release ${CODENAME} main
EOF

RUN git config --global --add safe.directory '*' \
&& git config --global user.name "${MAINTAINER_NAME}" \
&& git config --global user.email "${MAINTAINER_EMAIL}"

RUN --mount=type=secret,id=REPO_PASSWORD,required=true \
printf "machine ${REPO_DOMAIN} " > /etc/apt/auth.conf && \
printf "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
printf "password " >> /etc/apt/auth.conf && \
cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \
sha512sum /run/secrets/REPO_PASSWORD && \
curl \
--fail \
--netrc-file /etc/apt/auth.conf \
--output ${GPG_KEY} \
https://${REPO_DOMAIN}/repo/deb/debian-release/signalwire-freeswitch-repo.gpg && \
file ${GPG_KEY} && \
curl -sSL https://freeswitch.org/fsget | \
bash -s $(cat /run/secrets/REPO_PASSWORD) prerelease && \
apt-get --quiet update && \
apt-get --yes --quiet install \
libexpat1-dev \
Expand Down Expand Up @@ -114,6 +93,7 @@ RUN ./bootstrap \
&& ./configure \
--with-sofia-sip=/usr \
&& make install

COPY . ${DATA_DIR}
WORKDIR ${DATA_DIR}

Expand Down
22 changes: 2 additions & 20 deletions .github/docker/debian/bullseye/amd64/fse.release.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ ARG MAINTAINER_NAME="Andrey Volk"
ARG MAINTAINER_EMAIL="[email protected]"

ARG CODENAME=bullseye
ARG ARCH=amd64

# Credentials
ARG REPO_DOMAIN=fsa.freeswitch.com
ARG REPO_USERNAME=user

ARG BUILD_NUMBER=42
ARG GIT_SHA=0000000000
Expand Down Expand Up @@ -51,29 +46,16 @@ RUN apt-get -q update \
RUN update-ca-certificates --fresh

RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \
&& echo "export ARCH=${ARCH}" | tee -a ~/.env \
&& chmod +x ~/.env

RUN . ~/.env && cat <<EOF > /etc/apt/sources.list.d/freeswitch.list
deb https://${REPO_DOMAIN}/repo/deb/fsa ${CODENAME} 1.8
deb-src https://${REPO_DOMAIN}/repo/deb/fsa ${CODENAME} 1.8
EOF

RUN git config --global --add safe.directory '*' \
&& git config --global user.name "${MAINTAINER_NAME}" \
&& git config --global user.email "${MAINTAINER_EMAIL}"

RUN --mount=type=secret,id=REPO_PASSWORD,required=true \
printf "machine ${REPO_DOMAIN} " > /etc/apt/auth.conf && \
printf "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
printf "password " >> /etc/apt/auth.conf && \
cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \
sha512sum /run/secrets/REPO_PASSWORD && \
curl \
--fail \
--netrc-file /etc/apt/auth.conf \
https://${REPO_DOMAIN}/repo/deb/fsa/pubkey.gpg \
| apt-key add - && \
curl -sSL https://freeswitch.org/fsget | \
bash -s $(cat /run/secrets/REPO_PASSWORD) release && \
apt-get --quiet update && \
apt-get --yes --quiet install \
libexpat1-dev \
Expand Down
Loading