This repository has been archived by the owner on Jan 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added dockerfile * cleanup dockerfile * update Dockerfile and create raspberry dockerfile * doc & aria2
- Loading branch information
1 parent
0a4d0ae
commit 66be677
Showing
3 changed files
with
72 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM alpine:3.3 | ||
|
||
ENV GOPATH=/ | ||
|
||
RUN apk add --update ca-certificates go ffmpeg make build-base opus-dev python aria2 | ||
RUN apk upgrade | ||
|
||
RUN wget https://yt-dl.org/downloads/latest/youtube-dl -O /bin/youtube-dl && chmod a+x /bin/youtube-dl | ||
|
||
COPY . /src/github.com/matthieugrieger/mumbledj | ||
COPY config.yaml /root/.config/mumbledj/config.yaml | ||
|
||
WORKDIR /src/github.com/matthieugrieger/mumbledj | ||
|
||
RUN make | ||
RUN make install | ||
RUN apk del go make build-base && rm -rf /var/cache/apk/* | ||
|
||
ENTRYPOINT ["/usr/local/bin/mumbledj"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM hypriot/rpi-alpine-scratch:v3.3 | ||
|
||
ENV GOPATH=/ | ||
|
||
RUN echo "https://dl-cdn.alpinelinux.org/alpine/v3.3/community" >> /etc/apk/repositories | ||
RUN apk add --update ca-certificates go ffmpeg make build-base opus-dev python aria2 | ||
RUN apk upgrade | ||
|
||
RUN wget https://yt-dl.org/downloads/latest/youtube-dl -O /bin/youtube-dl && chmod a+x /bin/youtube-dl | ||
|
||
COPY . /src/github.com/matthieugrieger/mumbledj | ||
COPY config.yaml /root/.config/mumbledj/config.yaml | ||
|
||
WORKDIR /src/github.com/matthieugrieger/mumbledj | ||
|
||
RUN make | ||
RUN make install | ||
RUN apk del go make build-base && rm -rf /var/cache/apk/* | ||
|
||
ENTRYPOINT ["/usr/local/bin/mumbledj"] |