-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
2,260 additions
and
871 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
FROM postgres:11.4 | ||
MAINTAINER [email protected] | ||
|
||
# Set the maintainer label to the email of the responsible party | ||
LABEL maintainer="[email protected]" | ||
|
||
# Add a new user 'adb' with no password and no additional info | ||
RUN adduser --disabled-password --gecos '' adb | ||
|
||
RUN apt-get update && \ | ||
|
@@ -13,3 +16,4 @@ RUN apt-get update && \ | |
COPY ./scripts/restore_adb.sh /docker-entrypoint-initdb.d/restore_adb.sh | ||
|
||
EXPOSE 5432 | ||
|
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,6 +1,10 @@ | ||
FROM postgres:9.6.2 | ||
MAINTAINER [email protected] | ||
|
||
# Set the maintainer label to the email of the responsible party | ||
LABEL maintainer="[email protected]" | ||
|
||
# Update the package lists, install curl, create a directory for the database dump, | ||
# download the database dump, and clean up the package lists directory | ||
RUN apt-get update && \ | ||
apt-get install curl -y && \ | ||
# Create directory '/bigg_database_dump/' and download bigg_database dump as 'database.dump' | ||
|
@@ -11,3 +15,4 @@ RUN apt-get update && \ | |
COPY ./scripts/restore_biggdb.sh /docker-entrypoint-initdb.d/restore_biggdb.sh | ||
|
||
EXPOSE 5432 | ||
|
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,8 +1,17 @@ | ||
FROM openjdk:11-slim | ||
MAINTAINER [email protected] | ||
|
||
# Set the maintainer email for the image | ||
LABEL maintainer="[email protected]" | ||
|
||
# Copy the ModelPolisher jar file into the root directory of the image | ||
COPY ModelPolisher-2.1.jar / | ||
# from https://stackoverflow.com/a/23961144 | ||
|
||
# Create necessary directories for Java preferences and set permissions | ||
# Reference: https://stackoverflow.com/a/23961144 | ||
RUN mkdir -p /.java/.systemPrefs && mkdir /.java/.userPrefs && chmod -R 777 /.java | ||
|
||
# Set the container to run the ModelPolisher jar file as the default executable | ||
ENTRYPOINT ["java", "-jar", "/ModelPolisher-2.1.jar"] | ||
|
||
# Set the default command to display the help message of ModelPolisher | ||
CMD ["--help"] |
Oops, something went wrong.