Streamlined the entrypoint script.
This commit is contained in:
@@ -51,6 +51,13 @@ RUN echo "ALL ALL=NOPASSWD:ALL" > /etc/sudoers.d/01-allow-sudo
|
||||
RUN git config --system user.name "ameer" && \
|
||||
git config --system user.email "ameer@ahkhan.me"
|
||||
|
||||
# Copy utility scripts to /bin/ for independent execution
|
||||
COPY scripts/bin/configure-china-mirrors /bin/configure-china-mirrors
|
||||
COPY scripts/bin/update-apt-cache /bin/update-apt-cache
|
||||
COPY scripts/bin/setup-user-home /bin/setup-user-home
|
||||
RUN chmod +x /bin/configure-china-mirrors /bin/update-apt-cache /bin/setup-user-home
|
||||
|
||||
# Copy entrypoint script to root
|
||||
COPY scripts/entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user