-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HTM-1296: Update tomcat and optimize docker images (#11)
- Loading branch information
Showing
4 changed files
with
42 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
FROM ghcr.io/gvenzl/oracle-free:23.5 | ||
# https://github.com/gvenzl/oci-oracle-free | ||
|
||
LABEL org.opencontainers.image.authors="Tailormap/core-developers" \ | ||
org.opencontainers.image.description="An Oracle Free image for the Tailormap stack" \ | ||
org.opencontainers.image.vendor="Tailormap" \ | ||
org.opencontainers.image.title="Tailormap data Oracle Free" \ | ||
org.opencontainers.image.source="https://github.com/Tailormap/tailormap-data/tree/main/oracle" \ | ||
org.opencontainers.image.licenses="Apache-2.0" | ||
|
||
ARG TZ="Europe/Amsterdam" | ||
ENV LANG=en_US.utf8 | ||
|
||
USER root | ||
|
||
RUN mkdir -p /docker-entrypoint-initdb.d && mkdir -p /tmp/dumpdir && chown oracle /tmp/dumpdir | ||
RUN mkdir -p /docker-entrypoint-initdb.d \ | ||
&& mkdir -p /tmp/dumpdir \ | ||
&& chown oracle /tmp/dumpdir | ||
|
||
COPY ./docker-entrypoint-initdb.d /docker-entrypoint-initdb.d | ||
COPY ./dumpdir/*.dump /tmp/dumpdir | ||
|
||
USER oracle | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,26 @@ | ||
FROM mcr.microsoft.com/mssql/server:2022-latest | ||
|
||
ENV LANG=en_US.utf8 | ||
ENV ACCEPT_EULA=Y | ||
LABEL org.opencontainers.image.authors="Tailormap/core-developers" \ | ||
org.opencontainers.image.description="A SQL Server Developer image for the Tailormap stack" \ | ||
org.opencontainers.image.vendor="Tailormap" \ | ||
org.opencontainers.image.title="Tailormap data SQL Server" \ | ||
org.opencontainers.image.source="https://github.com/Tailormap/tailormap-data/tree/main/sqlserver" \ | ||
org.opencontainers.image.licenses="Microsoft EULA" | ||
|
||
ARG TZ="Europe/Amsterdam" | ||
ENV LANG=en_US.utf8 | ||
ENV ACCEPT_EULA=Y | ||
|
||
USER root | ||
COPY ./docker-entrypoint-initdb.d /docker-entrypoint-initdb.d | ||
|
||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone \ | ||
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 \ | ||
&& sed -i 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \ | ||
&& locale-gen "en_US.UTF-8" \ | ||
&& apt update && apt upgrade -y && apt autoremove -y && apt autoclean && apt clean && rm -rf /tmp/* && rm -rf /var/tmp/* \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
COPY ./docker-entrypoint-initdb.d /docker-entrypoint-initdb.d | ||
RUN chmod +r /docker-entrypoint-initdb.d/geodata.backup.dump | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& chmod +r /docker-entrypoint-initdb.d/geodata.backup.dump | ||
|
||
USER mssql | ||
ENTRYPOINT /bin/bash ./docker-entrypoint-initdb.d/entrypoint.sh | ||
ENTRYPOINT /bin/bash ./docker-entrypoint-initdb.d/entrypoint.sh |