-
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.
faster docker build, added ebicsResponse trace
- Loading branch information
Showing
6 changed files
with
1,207 additions
and
1,086 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 |
---|---|---|
|
@@ -20,3 +20,7 @@ __pycache__ | |
*.mk | ||
util/src/main/resources/version.txt | ||
.gitconfig | ||
*/bin | ||
.gitconfig | ||
*/spx/* | ||
spx |
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,21 +1,45 @@ | ||
FROM zenika/kotlin:1.4.20-M2-jdk11-slim as build | ||
# | ||
# IMPORTANT - you need to call ./bootstrap in order to inititalize the sub-repo of Libeufin | ||
# Ohterwise the build will fail with | ||
# failed to solve: failed to compute cache key: failed to calculate checksum ..."/build-system/taler-build-scripts/configure": not found | ||
# | ||
RUN apt update | ||
# needed for nexus/sandbox | ||
RUN apt install -y python3 python3-pip git | ||
RUN pip3 install click requests | ||
RUN mkdir /app | ||
COPY ./ /app/ | ||
WORKDIR /app/ | ||
RUN chmod a+x bootstrap; ./bootstrap | ||
RUN chmod a+x configure; ./configure | ||
RUN make install | ||
# needed for stating the UI to use the sandbox - LibFinEu/frontend | ||
# needed for starting the UI to use the sandbox - LibFinEu/frontend | ||
RUN apt-get install -y wget curl nodejs yarnpkg npm | ||
RUN apt-get install postgresql-client -y | ||
# install versions according to LibFinEu/frontend/README.md | ||
RUN npm install -g n | ||
RUN n 10.16.0 | ||
RUN npm install -g [email protected] | ||
RUN npm install --global [email protected] | ||
RUN yarnpkg global add [email protected] | ||
# moved ahead so that debugging kotlin is faster | ||
RUN mkdir /app; ls -la /app/ | ||
COPY gradlew build.gradle gradle.properties Makefile settings.gradle /app/ | ||
COPY ./presentation /app/presentation | ||
COPY ./frontend /app/frontend | ||
WORKDIR /app/ | ||
RUN yarn --cwd /app/frontend/ install | ||
# RUN yarnpkg --cwd /app/frontend/ build | ||
RUN yarnpkg global add serve | ||
|
||
# setup system | ||
ARG CACHEBUST=10 | ||
COPY ./build-system /app/build-system | ||
COPY ./cli /app/cli | ||
COPY ./contrib /app/contrib | ||
COPY ./debian /app/debian | ||
COPY ./nexus /app/nexus | ||
COPY ./parsing-tests /app/parsing-tests | ||
COPY ./sandbox /app/sandbox | ||
COPY ./util /app/util | ||
COPY ./gradle /app/gradle | ||
COPY build-system/taler-build-scripts/configure /app/configure | ||
|
||
RUN chmod a+x configure; ./configure | ||
RUN make all | ||
RUN make install | ||
|
||
# RUN yarnpkg --cwd /app/frontend/ build |
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
Oops, something went wrong.