diff --git a/Dockerfile b/Dockerfile index 1264e79..843ab1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,6 @@ -FROM alpine:latest +FROM bitnami/minideb:latest -RUN apk -U upgrade --no-cache \ - && apk add --no-cache openjdk11-jre \ - && apk add --no-cache curl \ - && apk add --no-cache grep \ +RUN install_packages openjdk-11-jre-headless wget curl grep \ && mkdir /app \ && mkdir /config \ && ln -s /config/serversettings.json /app/serversettings.json diff --git a/README.md b/README.md index 012f317..5462921 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Docker Pulls](https://img.shields.io/docker/pulls/yojoshb/jmusicbot?style=for-the-badge)](https://hub.docker.com/r/yojoshb/jmusicbot) [![Docker Image Size (tag)](https://img.shields.io/docker/image-size/yojoshb/jmusicbot/latest?color=blueviolet&style=for-the-badge)](https://hub.docker.com/r/yojoshb/jmusicbot) -Docker container for [JMusicBot](https://github.com/jagrosh/MusicBot). This uses the latest Alpine image for a small footprint. +Docker container for [JMusicBot](https://github.com/jagrosh/MusicBot). This uses the latest Minideb image for a small footprint. ## Usage Place your **config.txt** in `yourpath/toconfig` to map it to the container. The config folder will also contain `serversettings.json` if it exists. If you need to access the container you can hop into it and get a shell using: