Browse Source

Add apt publisher for Ubuntu 20.04.

master
Ray Burgemeestre 4 years ago
parent
commit
f4c4c3d2cc
3 changed files with 21 additions and 2 deletions
  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 View File


+ 16
- 0
apt-publisher/Dockerfile-ubuntu2004 View File

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 View File

\ \
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: run-initialize-once:
echo Please refer to README. Initial steps were done once manually and tar of artifacts was zipped. echo Please refer to README. Initial steps were done once manually and tar of artifacts was zipped.

Loading…
Cancel
Save