Skip to content
Snippets Groups Projects
Commit c30f51f6 authored by nimrod's avatar nimrod
Browse files
parent 0a195843
No related branches found
No related tags found
No related merge requests found
*
!inverse.sources
FROM registry.hub.docker.com/library/debian:buster-slim as repo-key
# hadolint ignore=DL3008
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
ca-certificates \
curl \
gnupg \
&& \
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/*
WORKDIR /gnupghome
ENV GNUPGHOME /gnupghome
RUN gpg --keyserver hkp://keys.gnupg.net --recv-key 0x810273C4 && \
gpg --output inverse.gpg --export-options=export-minimal --export 0x810273C4
FROM registry.hub.docker.com/library/debian:buster-slim
# hadolint ignore=DL3008
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
apt-transport-https \
ca-certificates \
gnupg \
&& \
apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 0x810273C4 && \
echo 'deb https://packages.inverse.ca/SOGo/nightly/5/debian/ buster buster' > /etc/apt/sources.list.d/sogo.list && \
apt-get update && \
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/*
COPY --from=repo-key /gnupghome/inverse.gpg /usr/share/keyrings/
COPY inverse.sources /etc/apt/sources.list.d/
# hadolint ignore=DL3008
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
sogo-activesync \
sogo \
......
Types: deb
URIs: https://packages.inverse.ca/SOGo/nightly/5/debian/
Suites: buster
Components: buster
Signed-By: /usr/share/keyrings/inverse.gpg
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment