From 67c3928413e1e230bfbac7fd7915fba2071c873e Mon Sep 17 00:00:00 2001 From: toby Date: Fri, 26 Oct 2018 00:36:25 +0200 Subject: [PATCH] updateing updating/unifiying build with other repos --- .drone.yml | 2 +- Dockerfile | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) 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