From ea76ba2fa4be0b8f7063ce7cfe896ba4a55c8c32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franti=C5=A1ek=20=C5=98ezn=C3=AD=C4=8Dek?=
 <246254@mail.muni.cz>
Date: Mon, 22 Apr 2024 09:36:36 +0200
Subject: [PATCH] feat: build neutron image with radvd

---
 .gitlab-ci.yml     |  4 ++++
 README.md          |  2 ++
 neutron/Dockerfile | 20 ++++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 100644 neutron/Dockerfile

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6b7702f..c5e922f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -36,4 +36,8 @@ build-image-keystone:
   variables:
     CONTAINER_DIR: keystone
 
+build-image-keystone:
+  <<: *build-a-image
+  variables:
+    CONTAINER_DIR: neutron
 
diff --git a/README.md b/README.md
index 77c2196..51c7612 100644
--- a/README.md
+++ b/README.md
@@ -4,4 +4,6 @@ Gitlab repository for building custom images
 
 ## [Keystone](/keystone)
 
+## [Neutron](/neutron)
+
 ## [Ubuntu:Jammy with podman](/ubuntu-jammy-podman)
\ No newline at end of file
diff --git a/neutron/Dockerfile b/neutron/Dockerfile
new file mode 100644
index 0000000..81eaa3b
--- /dev/null
+++ b/neutron/Dockerfile
@@ -0,0 +1,20 @@
+FROM docker.io/openstackhelm/neutron:yoga-ubuntu_focal-20240127
+# target-image-suffix: neutron:yoga-ubuntu_focal-20240127-radvd-1
+
+# install additional packages
+RUN apt -y update && \
+    apt -y install radvd && \
+    apt -y clean
+
+LABEL maintainer="MetaCentrum Cloud Team <cloud[at]metacentrum.cz>" \
+      org.label-schema.schema-version="1.0.0-rc.1" \
+      org.label-schema.vendor="Masaryk University, ICS" \
+      org.label-schema.name="g2/custom-images" \
+      org.label-schema.version="1.0.0" \
+      org.label-schema.build-date="$BUILD_DATE" \
+      org.label-schema.build-ci-job-name="$CI_BUILD_JOB_NAME" \
+      org.label-schema.build-ci-build-id="$CI_BUILD_ID" \
+      org.label-schema.build-ci-host-name="$CI_BUILD_HOSTNAME" \
+      org.label-schema.url="https://gitlab.ics.muni.cz/cloud/g2/custom-images" \
+      org.label-schema.vcs-url="https://gitlab.ics.muni.cz/cloud/g2/custom-images" \
+      org.label-schema.vcs-ref="$CI_COMMIT_SHA"
-- 
GitLab