Compare commits

...

2 Commits

Author SHA1 Message Date
Jimmy 1fc94b7c43 Use java8 3 months ago
Jimmy a1c170b9c9 Add java 8 version 3 months ago
  1. 2
      Dockerfile
  2. 2
      docker-compose.yml

2
Dockerfile

@ -10,7 +10,7 @@ RUN go build -o /app/main /app/src/main.go
RUN go build -o /app/cmd /app/src/cmd.go
ARG JAVA_VERSION=16
FROM openjdk:16
FROM openjdk:8
ENV MIN_MEM=512M
ENV MAX_MEM=1G

2
docker-compose.yml

@ -2,7 +2,7 @@ version: '3.7'
services:
minecraft:
image: magmise/minecraft:latest
image: magmise/minecraft:java8
container_name: minecraft
build: .
restart: unless-stopped

Loading…
Cancel
Save