diff --git a/.drone.yml b/.drone.yml index 1572bc2..88cf101 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,6 @@ pipeline: build: - image: registry.i.wit.com/toby/packager:1.2 + image: registry.i.wit.com/toby/packager:1.3 commands: - apt-get update - apt-get install -y sed strongswan frr isc-dhcp-client systemd diff --git a/Dockerfile b/Dockerfile index 7f9d2b3..3fcc6d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,15 @@ FROM debian:sid MAINTAINER "toby" -RUN apt-get update && apt-get -y install curl gnupg ca-certificates +RUN apt-get update + +RUN apt-get -y install curl gnupg ca-certificates RUN echo 'deb https://mirrors.wit.com/debian sid main contrib non-free' > /etc/apt/sources.list && \ echo 'deb https://mirrors.wit.com/debcore sid main' >> /etc/apt/sources.list && \ curl https://mirrors.wit.com/debcore/public.key | apt-key add - && \ apt-get update -RUN apt-get -y install devscripts build-essential lintian debhelper config-package-dev && apt-get clean +RUN apt-get -y install debootstrap xz-utils cpio gzip devscripts build-essential lintian debhelper config-package-dev + +RUN apt-get clean