Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG RUST_IMAGE_VERSION="1.91.1-alpine3.20"
ARG ALPINE_IMAGE_VERSION="3.22.2"
ARG JAVA_IMAGE_VERSION="25-jre-alpine-3.22"
ARG USER="shay"
ARG UID="1000"

Expand Down Expand Up @@ -29,7 +29,7 @@ RUN cargo +nightly build --release --locked --bin shaysbot

####################################################################################################

FROM alpine:${ALPINE_IMAGE_VERSION} AS run
FROM eclipse-temurin:${JAVA_IMAGE_VERSION} AS run
ARG USER
ARG UID
ARG GID
Expand All @@ -38,7 +38,6 @@ WORKDIR /config
RUN <<EOF
adduser \
--disabled-password \
--no-create-home \
--uid "${UID}" \
"${USER}"
chown -R "${USER}":"${USER}" /config
Expand Down
Loading