-
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.
- Loading branch information
Kenneth V. Domingo
committed
Feb 12, 2024
1 parent
aa0b569
commit 632c9c8
Showing
2 changed files
with
10 additions
and
5 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,16 +1,19 @@ | ||
FROM eclipse-temurin:11-jre-alpine | ||
FROM eclipse-temurin:11-jre-jammy | ||
|
||
ARG DELTA_SHARING_VERSION=1.0.4 | ||
|
||
WORKDIR /tmp | ||
|
||
RUN wget "https://github.com/delta-io/delta-sharing/releases/download/v$DELTA_SHARING_VERSION/delta-sharing-server-$DELTA_SHARING_VERSION.zip" && \ | ||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends wget unzip && \ | ||
wget "https://github.com/delta-io/delta-sharing/releases/download/v$DELTA_SHARING_VERSION/delta-sharing-server-$DELTA_SHARING_VERSION.zip" && \ | ||
unzip "delta-sharing-server-$DELTA_SHARING_VERSION.zip" && \ | ||
cp "/tmp/delta-sharing-server-$DELTA_SHARING_VERSION" /app | ||
cp -r "/tmp/delta-sharing-server-$DELTA_SHARING_VERSION" /app && \ | ||
apt-get clean | ||
|
||
WORKDIR /app | ||
|
||
COPY ./delta-prod-docker-entrypoint.sh docker-entrypoint.sh | ||
COPY ./delta-prod-docker-entrypoint.sh ./docker-entrypoint.sh | ||
COPY ./conf-template ./conf | ||
|
||
ENTRYPOINT [ "./docker-entrypoint.sh" ] | ||
CMD [ "./docker-entrypoint.sh" ] |