-
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.
build: use focal-based prod image; update delta-sharing-server to v1.0.4
- Loading branch information
Kenneth V. Domingo
committed
Mar 15, 2024
1 parent
3cd783b
commit 560415d
Showing
4 changed files
with
18 additions
and
18 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 |
---|---|---|
|
@@ -163,3 +163,4 @@ cython_debug/ | |
.task/ | ||
conf/ | ||
secrets.yaml | ||
profile.json |
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,22 +1,18 @@ | ||
FROM maven:3.9-eclipse-temurin-11-alpine AS base | ||
FROM maven:3.9-eclipse-temurin-11-focal | ||
|
||
FROM base AS build | ||
RUN apt update && \ | ||
apt install -y wget unzip && \ | ||
apt clean | ||
|
||
WORKDIR /tmp/custom-sas-provider | ||
|
||
COPY ./custom-sas-provider ./ | ||
|
||
RUN mvn clean package | ||
|
||
FROM base AS dev | ||
ARG DELTA_SHARING_VERSION=1.0.4 | ||
|
||
WORKDIR /tmp | ||
|
||
RUN wget https://github.com/delta-io/delta-sharing/releases/download/v1.0.4/delta-sharing-server-1.0.4.zip && \ | ||
unzip delta-sharing-server-1.0.4.zip | ||
RUN 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" | ||
|
||
WORKDIR /app | ||
|
||
RUN cp -R /tmp/delta-sharing-server-1.0.4/* ./ | ||
RUN cp -R /tmp/delta-sharing-server-$DELTA_SHARING_VERSION/* ./ | ||
|
||
CMD [ "./bin/delta-sharing-server", "--", "--config", "./conf/delta-sharing-server.yaml" ] |
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,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "giga-data-sharing" | ||
version = "0.2.0" | ||
version = "0.3.0" | ||
description = "" | ||
authors = ["Thinking Machines <[email protected]>"] | ||
readme = "README.md" | ||
|