commit cf8c36b9d0955af314da557f3bab7e69fdfd5421 Author: Michael N. Lipp Date: Tue Jun 18 10:53:44 2024 +0200 Get started. diff --git a/.gitlab-ci.yaml b/.gitlab-ci.yaml new file mode 100644 index 0000000..6ecca78 --- /dev/null +++ b/.gitlab-ci.yaml @@ -0,0 +1,18 @@ +image: quay.io/podman/stable + +stages: + - build + - push + +variables: + IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG + +before_script: + - echo -n $CI_REGISTRY_PASSWORD | podman login -u "$CI_REGISTRY_USER" $CI_REGISTRY + +build: + stage: build + script: + - podman build -t $IMAGE_TAG . + - podman push $IMAGE_TAG + when: manual diff --git a/.project b/.project new file mode 100644 index 0000000..d3cf2de --- /dev/null +++ b/.project @@ -0,0 +1,11 @@ + + + jdk21-builder + + + + + + + + diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..77f4561 --- /dev/null +++ b/Containerfile @@ -0,0 +1,5 @@ +FROM docker.io/fedora:40 + +RUN dnf install -y java-21-openjdk-headless nodejs python gcc gcc-c++ git podman + +CMD ["/bin/bash"]