changed from Alpine to Minideb for glibc support

This commit is contained in:
josh 2021-10-05 14:19:02 -05:00
parent ecf88960ed
commit b820979aa8
2 changed files with 3 additions and 6 deletions

View file

@ -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

View file

@ -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: