Skip to content
Snippets Groups Projects
Commit c03ee776 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Add shorewall image

parent fe5e9728
No related branches found
No related tags found
No related merge requests found
Pipeline #4098 failed
*~
......@@ -25,3 +25,17 @@ build_pubmat-builder:
--destination $CI_REGISTRY_IMAGE/pubmat-builder:$CI_COMMIT_REF_NAME
--cache=true
--cleanup
build_pubmat-builder:
stage: build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" >/kaniko/.docker/config.json
- /kaniko/executor
--context $CI_PROJECT_DIR/teckids-shorewall
--dockerfile $CI_PROJECT_DIR/teckids-shorewall/Dockerfile
--destination $CI_REGISTRY_IMAGE/teckids-shorewall:$CI_COMMIT_REF_NAME
--cache=true
--cleanup
FROM debian:buster
LABEL maintainer="Teckids e.V. <verein@teckids.org>"
ENV LANG=C.UTF-8
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get -f -y install \
shorewall \
shorewall6
&& \
apt-get clean && \
apt-get autoremove &&\
rm -rf /tmp/* /var/tmp/* && \
rm -rf /var/lib/apt/lists/* && \
rm -f /etc/ssh/ssh_host_*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment