-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setting version to 2.7.1. Adding docker files. Adding split to defaul…
…t profile.
- Loading branch information
1 parent
d0bd831
commit b866ee4
Showing
11 changed files
with
61 additions
and
11 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM ubuntu:22.04 | ||
|
||
ARG PHILTER_VERSION | ||
|
||
RUN apt-get update && apt-get -y install openjdk-17-jre | ||
|
||
RUN mkdir -p /opt/philter/ssl \ | ||
&& mkdir -p /opt/philter/indexes \ | ||
&& mkdir -p /opt/philter/policies | ||
|
||
COPY ./README.md /opt/philter/ | ||
COPY ./LICENSE.txt /opt/philter/ | ||
COPY ./distribution/indexes /opt/philter/indexes/ | ||
COPY ./distribution/policies /opt/philter/policies/ | ||
COPY ./distribution/philter.properties /opt/philter/ | ||
|
||
ADD ./philter-app/target/philter.jar /opt/philter/ | ||
|
||
RUN chmod +x /opt/philter/philter.jar | ||
|
||
EXPOSE 8080 | ||
|
||
WORKDIR /opt/philter | ||
CMD ["java", "-jar", "/opt/philter/philter.jar"] |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM ubuntu:22.04 | ||
|
||
RUN apt-get update && apt-get -y install openjdk-17-jre | ||
|
||
COPY ./LICENSE.txt /opt/philter/ | ||
|
||
ADD ./philter-ui/target/philter-ui.jar /opt/philter/philter-ui.jar | ||
COPY ./distribution/philter-ui.properties /opt/philter/philter-ui.properties | ||
|
||
RUN chmod +x /opt/philter/philter-ui.jar | ||
|
||
EXPOSE 9000 | ||
|
||
WORKDIR /opt/philter | ||
CMD ["java", "-jar", "/opt/philter/philter-ui.jar"] |
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
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
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
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
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