Skip to content

Commit

Permalink
Run updates in the base image.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Dec 2, 2024
1 parent 6368bb0 commit 892699a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ ENV MARIADB_DATA_DIR=/home/db-data
# Add customised entrypoint script.
COPY 9999-mariadb-init.bash /lagoon/entrypoints/

# Create the custom data directory and set permissions.
USER root

RUN apk update && apk upgrade --no-cache

# Create the custom data directory and set permissions.
RUN mkdir -p /home/db-data \
&& chown -R mysql:mysql /home/db-data \
&& /bin/fix-permissions /home/db-data
Expand Down

0 comments on commit 892699a

Please sign in to comment.