summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorVasek Sraier <git@vakabus.cz>2022-11-30 10:26:28 +0100
committerVasek Sraier <git@vakabus.cz>2022-12-02 15:53:26 +0100
commitfd051dfd616d01324e4007212aefdf831c2c04e3 (patch)
treeecaf6ea2188ce4973db9909841f657342894fc9a /Dockerfile
parentdocker: build with manager using apkg (diff)
downloadknot-resolver-fd051dfd616d01324e4007212aefdf831c2c04e3.tar.xz
knot-resolver-fd051dfd616d01324e4007212aefdf831c2c04e3.zip
docker: removed useless OBS repo from Dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 1 insertions, 7 deletions
diff --git a/Dockerfile b/Dockerfile
index cbe2263b..f49f94dd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,10 +8,7 @@ ENV DISTROTEST_REPO=Debian_11
RUN apt-get update -qq && \
- apt-get -qqq -y install gnupg2 curl python3-pip python3-venv devscripts && \
- echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/$OBS_REPO/$DISTROTEST_REPO/ /" > /etc/apt/sources.list.d/obs.list && \
- curl -fsSL "https://download.opensuse.org/repositories/home:CZ-NIC:$OBS_REPO/$DISTROTEST_REPO/Release.key" | gpg --dearmor > /etc/apt/trusted.gpg.d/obs.gpg && \
- apt-get update -qq && \
+ apt-get -qqq -y install python3-pip python3-venv devscripts && \
pip3 install pipx && \
pipx install apkg
@@ -33,9 +30,6 @@ ENV OBS_REPO=knot-resolver-latest
ENV DISTROTEST_REPO=Debian_11
RUN apt-get update -qq && \
- apt-get -qqq -y install gnupg2 curl && \
- echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/$OBS_REPO/$DISTROTEST_REPO/ /" > /etc/apt/sources.list.d/obs.list && \
- curl -fsSL "https://download.opensuse.org/repositories/home:CZ-NIC:$OBS_REPO/$DISTROTEST_REPO/Release.key" | gpg --dearmor > /etc/apt/trusted.gpg.d/obs.gpg && \
apt-get update -qq
COPY --from=build /source/pkg/pkgs/debian-11 /pkg