Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
Change Docker base image to AOJDK 11-jre-hotspot
Browse files Browse the repository at this point in the history
  • Loading branch information
serebit committed May 30, 2021
1 parent fffacb4 commit ca11e95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ COPY ./ /var/build

RUN gradle shadowJar --no-daemon

FROM openjdk:16-jdk-alpine
FROM adoptopenjdk:11-jre-hotspot

ENV APPLICATION_USER ktor
RUN adduser -D -g '' $APPLICATION_USER
RUN adduser --system $APPLICATION_USER

RUN mkdir /var/app
RUN chown -R $APPLICATION_USER /var/app
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.host
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM openjdk:16-jdk-alpine
FROM adoptopenjdk:11-jre-hotspot

ENV APPLICATION_USER ktor
RUN adduser -D -g '' $APPLICATION_USER
RUN adduser --system $APPLICATION_USER

RUN mkdir /var/app
RUN chown -R $APPLICATION_USER /var/app
Expand Down

0 comments on commit ca11e95

Please sign in to comment.