Skip to content

Commit

Permalink
Moved Docker to alpine (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
schneidermanuel authored Dec 8, 2022
1 parent cdae8dc commit 8d70afe
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
FROM ubuntu:22.04
FROM alpine:3.14

# Upgrade the system and install dependencies

RUN apt-get update &&\
apt-get upgrade -y &&\
apt-get install -y --no-install-recommends \
python3-pip tar wget
RUN apk add --no-cache --upgrade python3 tar wget bash
RUN python3 -m ensurepip

RUN pip3 install --upgrade streamlink
RUN wget https://github.com/porjo/youtubeuploader/releases/download/22.03/youtubeuploader_22.03_Linux_x86_64.tar.gz
RUN tar -xvf youtubeuploader_22.03_Linux_x86_64.tar.gz && rm youtubeuploader_22.03_Linux_x86_64.tar.gz &&\
RUN pip3 install --upgrade streamlink
RUN wget https://github.com/porjo/youtubeuploader/releases/download/22.03/youtubeuploader_22.03_Linux_x86_64.tar.gz
RUN tar -xvf youtubeuploader_22.03_Linux_x86_64.tar.gz && rm youtubeuploader_22.03_Linux_x86_64.tar.gz &&\
mv youtubeuploader /usr/local/bin/youtubeuploader

# Copy the required files
Expand Down

0 comments on commit 8d70afe

Please # to comment.