Browse Source

modified mcserver to run on alpine-slim

master
kami 7 months ago
parent
commit
f3683e5356
5 changed files with 14 additions and 8 deletions
  1. +6
    -3
      .docker/mcserver/Dockerfile
  2. +1
    -1
      .docker/mcserver/entrypoint.sh
  3. +4
    -1
      CHANGELOG.md
  4. +2
    -2
      README.md
  5. +1
    -1
      RELEASE.md

+ 6
- 3
.docker/mcserver/Dockerfile View File

@@ -1,6 +1,9 @@
FROM adoptopenjdk/openjdk8
FROM adoptopenjdk/openjdk8:alpine-slim

RUN apt-get update && apt-get install -y git wget maven
RUN apk add --no-cache \
git \
wget \
maven

COPY .docker/mcserver/entrypoint.sh /entrypoint.sh

@@ -9,4 +12,4 @@ RUN chmod a+x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

# RUN wget -O /server/plugins/ViaVersion.jar https://api.spiget.org/v2/resources/19254/versions/275606/download
# RUN wget -O /server/plugins/ViaRewind.jar https://api.spiget.org/v2/resources/52109/versions/270108/download
# RUN wget -O /server/plugins/ViaRewind.jar https://api.spiget.org/v2/resources/52109/versions/270108/download

+ 1
- 1
.docker/mcserver/entrypoint.sh View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/sh
set -x

cd /server


+ 4
- 1
CHANGELOG.md View File

@@ -1 +1,4 @@
intial build
* modified mcserver to run on alpine-slim
* changed api to reflect whitelist.json
* added server start message
* added multistage build to api

+ 2
- 2
README.md View File

@@ -6,8 +6,6 @@ Compatible with Minecraft Client 1.7.X to 1.14.X and further through ViaVersion.
This server and plugin are meant to verify that an mc user exists and is valid.
Inspired by https://mc-oauth.net/. Head over to their description, seriously its a lot better.

## [Releases](https://git.varelus.com/kami/mc-oauth/releases).

## Docker
We include a Docker setup out of the box with no configuration needed so you can just deploy this and forget about it.

@@ -18,6 +16,8 @@ We include a Docker setup out of the box with no configuration needed so you can
1. (Optional) Edit `docker-compose.yml` to your likings for the port mappings.
2. Run `docker-compose up -d` in the project root.

## [Releases](https://git.varelus.com/kami/mc-oauth/releases)

## Dependencies

#### Optional (if building Spigot)


+ 1
- 1
RELEASE.md View File

@@ -1 +1 @@
And a merry christmas to you
1.0.0

Loading…
Cancel
Save