-
Notifications
You must be signed in to change notification settings - Fork 20
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
1 parent
b2588da
commit f0398cd
Showing
2 changed files
with
29 additions
and
0 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,12 @@ | ||
FROM alpine:3.16.1 | ||
|
||
ENV DELTIX_HOME /timebase-client | ||
ENV DEFAULT_JVM_OPTS --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED | ||
|
||
RUN apk add --no-cache openjdk17-jdk && \ | ||
apk add --no-cache zlib=1.2.12-r3 && \ | ||
addgroup -S deltix --gid 1666 && adduser -S deltix -G deltix -u 1666 | ||
|
||
USER deltix | ||
COPY timebase /timebase-client | ||
ENTRYPOINT ["/bin/sh", "-c", "/timebase-client/bin/tickdb.sh"] |
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,17 @@ | ||
FROM alpine:3.16.1 | ||
|
||
RUN apk add --no-cache openjdk17-jdk && \ | ||
apk add --no-cache zlib=1.2.12-r3 && \ | ||
addgroup -S deltix --gid 1666 && adduser -S deltix -G deltix -u 1666 && \ | ||
mkdir -p /timebase-home && \ | ||
chown deltix:deltix -R /timebase-home | ||
|
||
ENV DELTIX_HOME /timebase-server | ||
ENV DEFAULT_JVM_OPTS --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED | ||
|
||
USER deltix | ||
WORKDIR /timebase-home | ||
|
||
COPY timebase /timebase-server | ||
EXPOSE 8011 | ||
ENTRYPOINT ["/bin/sh", "-c", "/timebase-server/bin/tdbserver.sh -home /timebase-home"] |