Skip to content

Instantly share code, notes, and snippets.

View klopfdreh's full-sized avatar
💻
Still working! 😄

Tobias Soloschenko klopfdreh

💻
Still working! 😄
View GitHub Profile
@klopfdreh
klopfdreh / Dockerfile
Created January 10, 2025 08:47
Multi-stage Spring Boot Native Image build
FROM redhat/ubi9-minimal:9.3-1552@sha256:582e18f13291d7c686ec4e6e92d20b24c62ae0fc72767c46f30a69b1a6198055 as builder
ARG RUNTIMEUSER=1001
ENV ARTIFACT_JAR_PATTERN=*-exec.jar
ENV MAIN_CLASS=tests.GitHubDownloaderApplication
ENV BINARY_NAME=github-downloader
ENV NIK_TAR_GZ=bellsoft-liberica-vm-openjdk23+38-24.1.0+1-linux-amd64.tar.gz
ENV NIK_DOWNLOAD_URL=https://github.com/bell-sw/LibericaNIK/releases/download/24.1.0%2B1-23%2B38/${NIK_TAR_GZ}
@klopfdreh
klopfdreh / pom.xml
Last active March 28, 2024 04:58
Spring Boot 3 / Spring Cloud native test for arm64
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>spring-boot-native</groupId>
<artifactId>spring-boot-native-test</artifactId>
<version>1.0.0-SNAPSHOT</version>