From 9d2640cac355da7eafbcdbe724556c0043f8cfcb Mon Sep 17 00:00:00 2001 From: Mykola Malkov Date: Thu, 28 Feb 2019 19:01:12 +0200 Subject: [PATCH] TT#36350 Create dirs in docker images Create directories to place files with repo information and gpg key during building of grml-sipwise iso. Change-Id: I9ed158b085ea6caaab6a34ce74b5f66ec0f80ce7 --- grml_build/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/grml_build/Dockerfile b/grml_build/Dockerfile index 4682f5d..03131f7 100644 --- a/grml_build/Dockerfile +++ b/grml_build/Dockerfile @@ -5,7 +5,7 @@ FROM docker.mgm.sipwise.com/sipwise-stretch:latest # is updated with the current date. It will force refresh of all # of the base images and things like `apt-get update` won't be using # old cached versions when the Dockerfile is built. -ENV REFRESHED_AT 2018-09-08 +ENV REFRESHED_AT 2019-02-28 RUN apt-get update && apt-get install --assume-yes \ bc \ @@ -40,6 +40,9 @@ RUN git clone https://github.com/grml/grml-live WORKDIR /code/grml-live +RUN mkdir -p /code/grml-live/etc/grml/fai/config/files/etc/apt/sources.list.d/sipwise.list/ \ + /code/grml-live/etc/grml/fai/config/files/etc/apt/trusted.gpg.d/sipwise-keyring.gpg/ + ### Usage instructions ############################################################################# ## Build docker image: #