Browse Source

Add Dockerfile

master
Ray Burgemeestre 5 years ago
parent
commit
2615d62652
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      apt-publisher/Dockerfile

+ 16
- 0
apt-publisher/Dockerfile View File

FROM ubuntu:14.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"

Loading…
Cancel
Save