This commit is contained in:
louiscklaw
2025-02-01 02:02:28 +08:00
commit 0ca865a124
36 changed files with 1056 additions and 0 deletions

32
project/Dockerfile Normal file
View File

@@ -0,0 +1,32 @@
FROM ubuntu:22.04
# Set DEBIAN_FRONTEND to noninteractive
ENV DEBIAN_FRONTEND noninteractive
# RUN sed -i 's/http:\/\/archive\.ubuntu\.com/http:\/\/ftp\.cuhk\.edu\.hk\/pub\/Linux/g' /etc/apt/sources.list && \
# sed -i 's/http:\/\/security\.ubuntu\.com/http:\/\/ftp\.cuhk\.edu\.hk\/pub\/Linux/g' /etc/apt/sources.list
USER root
RUN apt-get update && \
apt-get install -y zsh sudo curl gnupg2
RUN apt-get install -qqy python3 python3-pip
RUN apt-get install -qqy ffmpeg
RUN apt-get install -qqy yt-dlp
RUN apt-get install -qqy entr
RUN pip install pipenv
RUN mkdir -p /home/user
RUN chown 1000:1000 -R /home/user
RUN useradd --uid 1000 --shell /bin/bash --user-group -d /home/user user
USER 1000
WORKDIR /src
CMD ["/bin/bash"]