Merge branch 'master' of https://git.stamm.me/OpenServer/MumbleDocker
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
commit
a67edb2155
21
.drone.yml
Normal file
21
.drone.yml
Normal file
@ -0,0 +1,21 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: Publish to docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
auto_tag: true
|
||||
repo: docker.hibas123.de/mumble
|
||||
registry: docker.hibas123.de
|
||||
debug: true
|
||||
when:
|
||||
branch: [master]
|
||||
event:
|
||||
exclude:
|
||||
- pull_request
|
78
Dockerfile
78
Dockerfile
@ -1,39 +1,39 @@
|
||||
FROM alpine:3.10
|
||||
LABEL maintainer="Chris Kankiewicz <Chris@ChrisKankiewicz.com>"
|
||||
|
||||
# Define Mumble version
|
||||
ARG MUMBLE_VERSION=1.3.4
|
||||
|
||||
# Create Mumble directories
|
||||
RUN mkdir -pv /opt/mumble /etc/mumble
|
||||
|
||||
# Create non-root user
|
||||
RUN adduser -DHs /sbin/nologin mumble
|
||||
|
||||
# Copy config file
|
||||
COPY files/config.ini /etc/mumble/config.ini
|
||||
|
||||
# Copy SuperUser password update script
|
||||
COPY files/supw /usr/local/bin/supw
|
||||
RUN chmod +x /usr/local/bin/supw
|
||||
|
||||
# Set the bzip archive URL
|
||||
ARG BZIP_URL=https://github.com/mumble-voip/mumble/releases/download/${MUMBLE_VERSION}/murmur-static_x86-${MUMBLE_VERSION}.tar.bz2
|
||||
|
||||
# Install dependencies, fetch Mumble bzip archive and chown files
|
||||
RUN apk add --update ca-certificates bzip2 tar tzdata wget \
|
||||
&& wget -qO- ${BZIP_URL} | tar -xjv --strip-components=1 -C /opt/mumble \
|
||||
&& apk del ca-certificates bzip2 tar wget && rm -rf /var/cache/apk/* \
|
||||
&& chown -R mumble:mumble /etc/mumble /opt/mumble
|
||||
|
||||
# Expose ports
|
||||
EXPOSE 64738 64738/udp
|
||||
|
||||
# Set running user
|
||||
USER mumble
|
||||
|
||||
# Set volumes
|
||||
VOLUME /etc/mumble
|
||||
|
||||
# Default command
|
||||
CMD ["/opt/mumble/murmur.x86", "-fg", "-ini", "/etc/mumble/config.ini"]
|
||||
FROM alpine:3.10
|
||||
LABEL maintainer="Fabian Stamm <dev@fabianstamm.de>"
|
||||
|
||||
# Define Mumble version
|
||||
ARG MUMBLE_VERSION=1.3.4
|
||||
|
||||
# Create Mumble directories
|
||||
RUN mkdir -pv /opt/mumble /etc/mumble
|
||||
|
||||
# Create non-root user
|
||||
RUN adduser -DHs /sbin/nologin mumble
|
||||
|
||||
# Copy config file
|
||||
COPY files/config.ini /etc/mumble/config.ini
|
||||
|
||||
# Copy SuperUser password update script
|
||||
COPY files/supw /usr/local/bin/supw
|
||||
RUN chmod +x /usr/local/bin/supw
|
||||
|
||||
# Set the bzip archive URL
|
||||
ARG BZIP_URL=https://github.com/mumble-voip/mumble/releases/download/${MUMBLE_VERSION}/murmur-static_x86-${MUMBLE_VERSION}.tar.bz2
|
||||
|
||||
# Install dependencies, fetch Mumble bzip archive and chown files
|
||||
RUN apk add --update ca-certificates bzip2 tar tzdata wget \
|
||||
&& wget -qO- ${BZIP_URL} | tar -xjv --strip-components=1 -C /opt/mumble \
|
||||
&& apk del ca-certificates bzip2 tar wget && rm -rf /var/cache/apk/* \
|
||||
&& chown -R mumble:mumble /etc/mumble /opt/mumble
|
||||
|
||||
# Expose ports
|
||||
EXPOSE 64738 64738/udp
|
||||
|
||||
# Set running user
|
||||
USER mumble
|
||||
|
||||
# Set volumes
|
||||
VOLUME /etc/mumble
|
||||
|
||||
# Default command
|
||||
CMD ["/opt/mumble/murmur.x86", "-fg", "-ini", "/etc/mumble/config.ini"]
|
||||
|
Loading…
Reference in New Issue
Block a user