Compare commits
3 Commits
0.0.5
...
aa3aadbb53
| Author | SHA1 | Date | |
|---|---|---|---|
| aa3aadbb53 | |||
| b1888fed96 | |||
| d7e8b3d62a |
@@ -1,5 +1,5 @@
|
|||||||
# Use a specific version of OpenJDK based on Debian ("bullseye" in this case)
|
# Use a specific version of OpenJDK based on Debian ("bullseye" in this case)
|
||||||
FROM --platform=$BUILDPLATFORM openjdk:22-ea-21-jdk-slim-bullseye AS builder
|
FROM --platform=$BUILDPLATFORM openjdk:21-jdk-bullseye AS builder
|
||||||
|
|
||||||
# Replace 'apk' commands with 'apt-get' for Debian-based package management.
|
# Replace 'apk' commands with 'apt-get' for Debian-based package management.
|
||||||
# Install required packages such as 'git' and 'gradle'. Remember to update and clean up properly.
|
# Install required packages such as 'git' and 'gradle'. Remember to update and clean up properly.
|
||||||
@@ -12,7 +12,7 @@ COPY . .
|
|||||||
RUN ./gradlew shadowJar
|
RUN ./gradlew shadowJar
|
||||||
|
|
||||||
# Second stage: Setup the runtime container
|
# Second stage: Setup the runtime container
|
||||||
FROM openjdk:22-ea-21-jdk-slim-bullseye
|
FROM openjdk:21-jdk-bullseye
|
||||||
|
|
||||||
# Again, switch to 'apt-get' for installing 'bash'. Clean up to keep the image size down.
|
# Again, switch to 'apt-get' for installing 'bash'. Clean up to keep the image size down.
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ dependencies {
|
|||||||
api 'org.mariadb.jdbc:mariadb-java-client:3.3.3'
|
api 'org.mariadb.jdbc:mariadb-java-client:3.3.3'
|
||||||
|
|
||||||
// UNIX sockets
|
// UNIX sockets
|
||||||
api 'com.kohlschutter.junixsocket:junixsocket-core:2.9.0'
|
api 'com.kohlschutter.junixsocket:junixsocket-core:2.9.1'
|
||||||
|
|
||||||
// Twilio SDK for SMS
|
// Twilio SDK for SMS
|
||||||
api 'com.twilio.sdk:twilio:10.1.3'
|
api 'com.twilio.sdk:twilio:10.1.3'
|
||||||
|
|||||||
Reference in New Issue
Block a user