Get started.

This commit is contained in:
Michael Lipp 2024-06-18 10:53:44 +02:00
commit cf8c36b9d0
3 changed files with 34 additions and 0 deletions

18
.gitlab-ci.yaml Normal file
View file

@ -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

11
.project Normal file
View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>jdk21-builder</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>

5
Containerfile Normal file
View file

@ -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"]