-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile-mariadb
21 lines (18 loc) · 999 Bytes
/
Dockerfile-mariadb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Use the official MariaDB 11.2 image
FROM mariadb:11.2
# Add image metadata in Open Container Format (OCF) compliant format
LABEL maintainer="Hochleitner, Wolfgang <wolfgang.hochleitner@fh-hagenberg.at>" \
org.opencontainers.image.authors="Hochleitner, Wolfgang <wolfgang.hochleitner@fh-hagenberg.at>" \
org.opencontainers.image.url="https://github.com/Digital-Media/fhooe-web-dock.git" \
org.opencontainers.image.vendor="University of Applied Sciences Upper Austria, Department of Digital Media" \
org.opencontainers.image.licenses="MIT License" \
org.opencontainers.image.ref.name="fhooe-web-dock-db:latest" \
org.opencontainers.image.title="fhooe-web-dock MariaDB" \
org.opencontainers.image.description="MariaDB image of the fhooe-web-dock environment"
# Copy additional intialization scripts to the image
COPY src /src
# Run initialization scripts
RUN cd /src \
&& chmod 755 *.sh \
&& /src/install-apt.sh \
&& /src/install-cli-tools.sh