Skip to content

Commit a2f4a05

Browse files
committed
Split up the code to multiple files for easier readability and maintainability
1 parent 1ba984f commit a2f4a05

File tree

8 files changed

+530
-517
lines changed

8 files changed

+530
-517
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ COPY --chmod=755 ./entrypoint.sh /entrypoint.sh
4242
# Strip Windows line endings (\r) just in case the file was edited on Windows
4343
RUN sed -i 's/\r$//' /entrypoint.sh
4444

45+
# Copy lib directory
46+
COPY --chmod=755 ./lib /lib
47+
RUN sed -i 's/\r$//' /lib/*.sh
48+
4549
# Create the container user
4650
RUN useradd -m -d /home/container -s /bin/bash container
4751

0 commit comments

Comments
 (0)