Bläddra i källkod

Add apt publisher for Ubuntu 20.04.

master
Ray Burgemeestre 4 år sedan
förälder
incheckning
f4c4c3d2cc
3 ändrade filer med 21 tillägg och 2 borttagningar
  1. +0
    -0
      apt-publisher/Dockerfile-ubuntu1804
  2. +16
    -0
      apt-publisher/Dockerfile-ubuntu2004
  3. +5
    -2
      apt-publisher/Makefile

apt-publisher/Dockerfile → apt-publisher/Dockerfile-ubuntu1804 Visa fil


+ 16
- 0
apt-publisher/Dockerfile-ubuntu2004 Visa fil

@@ -0,0 +1,16 @@
FROM ubuntu:20.04

# based on https://www.digitalocean.com/community/tutorials/how-to-use-reprepro-for-a-secure-package-repository-on-ubuntu-14-04

MAINTAINER Ray Burgemeestre

RUN apt-get update && \
apt install -y rng-tools gnupg2 \
apache2 dpkg-dev dpkg-sig \
apt-utils reprepro && \
\
mkdir -p /repo && \
mkdir -p ~/.gnupg && \
rm -rf /var/lib/apt/lists/*

CMD "/bin/bash"

+ 5
- 2
apt-publisher/Makefile Visa fil

@@ -24,8 +24,11 @@ prepare-packages:
\
packages/

docker:
docker build . -t rayburgemeestre/apt-ubuntu:18.04 -f Dockerfile
docker-ubuntu1804:
docker build . -t rayburgemeestre/apt-ubuntu:18.04 -f Dockerfile-ubuntu1804

docker-ubuntu2004:
docker build . -t rayburgemeestre/apt-ubuntu:20.04 -f Dockerfile-ubuntu2004

run-initialize-once:
echo Please refer to README. Initial steps were done once manually and tar of artifacts was zipped.

Laddar…
Avbryt
Spara