2023-06-15 15:11:12 +00:00
|
|
|
FROM debian:bookworm
|
2023-01-18 13:43:10 +00:00
|
|
|
|
|
|
|
RUN set -eux \
|
|
|
|
&& apt-get update \
|
|
|
|
&& export DEBIAN_FRONTEND=noninteractive \
|
|
|
|
&& apt-get install -y curl gpg \
|
2023-06-09 11:06:05 +00:00
|
|
|
&& curl https://build.opensuse.org/projects/home:jfita:numerus/signing_keys/download?kind=gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/obs-numerus.gpg \
|
2023-06-15 15:11:12 +00:00
|
|
|
&& echo 'deb [signed-by=/etc/apt/trusted.gpg.d/obs-numerus.gpg] http://download.opensuse.org/repositories/home:/jfita:/numerus/Debian_12/ ./' >> /etc/apt/sources.list.d/numerus.list \
|
2023-01-18 13:43:10 +00:00
|
|
|
&& apt-get remove --purge -y curl gpg \
|
|
|
|
&& apt-get autoremove --purge -y \
|
|
|
|
&& apt-get update \
|
|
|
|
&& apt-get install -y numerus \
|
|
|
|
&& apt-get clean
|
|
|
|
|
|
|
|
EXPOSE 8080
|
|
|
|
|
|
|
|
WORKDIR /usr/share/numerus
|
|
|
|
|
|
|
|
CMD ["numerus"]
|