Added env/ folder to simplify children images; updated Dockerfile to include env/ plus add unzip command
This commit is contained in:
@@ -10,9 +10,10 @@ FROM nginx
|
||||
# 1. B: Set ENV Variables
|
||||
ENV TERM=xterm-256color
|
||||
|
||||
# 2. Set the working directory inside the container
|
||||
# 2. Setup home user
|
||||
RUN groupadd -g 1000 abaddon
|
||||
RUN useradd -u 1000 -g 1000 -r -s /bin/false abaddon
|
||||
COPY env/* /home/abaddon/
|
||||
RUN mkdir -p /home/abaddon/Code
|
||||
RUN mkdir -p /home/abaddon/Downloads
|
||||
RUN mkdir -p /home/abaddon/LazyShare
|
||||
@@ -20,6 +21,7 @@ RUN mkdir -p /home/abaddon/.local
|
||||
RUN mkdir -p /home/abaddon/.config
|
||||
RUN mkdir -p /home/abaddon/.cache
|
||||
RUN mkdir -p /home/abaddon/.thumbnails
|
||||
RUN chown abaddon:abaddon -R /home/abaddon
|
||||
|
||||
# 3. A: Install dependencies
|
||||
RUN apt-get update
|
||||
@@ -43,6 +45,7 @@ RUN apt-get install -y \
|
||||
bat \
|
||||
7zip \
|
||||
zip \
|
||||
unzip \
|
||||
tar \
|
||||
curl \
|
||||
wget \
|
||||
|
||||
Reference in New Issue
Block a user