Skip to content

Commit 63dc802

Browse files
authored
Merge pull request pelican-eggs#217 from kamcio96/feature/sinusbot-python3-requests
Add python3-pip and pythons requests lib for ytdl wrapper to sinusbot image
2 parents d052cdd + 11c0991 commit 63dc802

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

bot/sinusbot/Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ ENV DEBIAN_FRONTEND noninteractive
88
# Install Dependencies
99
RUN apt update \
1010
&& apt upgrade -y \
11-
&& apt install -y ca-certificates less locales pulseaudio python python3 sudo x11vnc x11-xkb-utils xvfb iproute2 ffmpeg curl liblcms2-2 libatomic1 libxcb-xinerama0 fontconfig \
12-
libasound2 libegl1-mesa libglib2.0-0 libnss3 libpci3 libpulse0 libxcursor1 libxslt1.1 libx11-xcb1 libxkbcommon0 bzip2 libxss1 libxcomposite1 libevent-2.1-7 libxcb-icccm4 \
13-
libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-xkb1 libxkbcommon-x11-0 tini \
11+
&& apt install -y ca-certificates less locales pulseaudio python python3 python3-pip sudo x11vnc x11-xkb-utils xvfb iproute2 ffmpeg curl liblcms2-2 libatomic1 libxcb-xinerama0 \
12+
fontconfig libasound2 libegl1-mesa libglib2.0-0 libnss3 libpci3 libpulse0 libxcursor1 libxslt1.1 libx11-xcb1 libxkbcommon0 bzip2 libxss1 libxcomposite1 libevent-2.1-7 \
13+
libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-xkb1 libxkbcommon-x11-0 tini \
14+
&& python3 -m pip install requests \
1415
&& useradd -m -d /home/container container
15-
16+
#RUN python3 -m pip install requests
1617

1718
ENV LANG C.UTF-8
1819
ENV LC_ALL C.UTF-8
@@ -26,4 +27,4 @@ STOPSIGNAL SIGINT
2627
COPY --chown=container:container ./entrypoint.sh /entrypoint.sh
2728
RUN chmod +x /entrypoint.sh
2829
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
29-
CMD ["/entrypoint.sh"]
30+
CMD ["/entrypoint.sh"]

0 commit comments

Comments
 (0)