Skip to content

Commit da5f4af

Browse files
committed
Verison 1.1.0
1 parent 9fe8759 commit da5f4af

28 files changed

+94
-13
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.cache/
22
distrib/
33
.project
4-
.settings/
4+
.settings/
5+
/.shared/

CHANGELOG.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,19 @@ This project adheres to [Semantic Versioning](http://semver.org/).
66

77
## [unreleased]
88

9+
TODO: enable precompressed files
910

10-
## 1.0.0
11+
## [1.1.0]
12+
13+
### Addedd
14+
15+
- customization of workbench UI
16+
- static file serving in shared area
17+
18+
## 1.1.0
1119

1220
First release, aligned with Blazegraph 2.1.5
1321

1422

15-
[Unreleased]: https://bitbucket.org/linkeddatacenter/sdaas/compare/master%0D1.0.0
16-
[1.0.0]: https://bitbucket.org/linkeddatacenter/sdaas/compare/1.0.0%0D0.0.0
23+
[Unreleased]: https://bitbucket.org/linkeddatacenter/sdaas/compare/master%0D1.1.0
24+
[1.1.0]: https://bitbucket.org/linkeddatacenter/sdaas/compare/1.1.0%0D1.0.0

Dockerfile

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,39 @@
11
# Copyright (C) 2019 LinkedData.Center - All Rights Reserved
22
# Permission to copy and modify is granted under the MIT license
3-
FROM lyrasis/blazegraph:2.1.5
3+
FROM bash as build-stage
4+
5+
ENV BLAZEGRAPH_VERSION=CANDIDATE_2_1_5
6+
ENV BLAZEGRAPH_VERSION_URL https://github.com/blazegraph/database/releases/download/BLAZEGRAPH_RELEASE_${BLAZEGRAPH_VERSION}/blazegraph.war
7+
8+
RUN apk --no-cache add unzip
9+
10+
RUN apk add --no-cache openssl && \
11+
apk add --no-cache su-exec && \
12+
wget -O /blazegraph.war $BLAZEGRAPH_VERSION_URL
13+
14+
# unpack and rename the blazegraph webapp
15+
RUN unzip /blazegraph.war -d /sdaas
16+
COPY webapps/sdaas/html /sdaas/html
17+
18+
### production stage ###
19+
FROM jetty:9-jre8-alpine
420

521
LABEL authors="enrico@linkeddata.center"
622

23+
ENV JAVA_OPTS="-Xmx1g" \
24+
JETTY_WEBAPPS=/var/lib/jetty/webapps \
25+
BLAZEGRAPH_UID=888 \
26+
BLAZEGRAPH_GID=888
27+
728
USER root
829

930
COPY helpers/* /
1031

11-
RUN apk --no-cache add \
12-
unzip \
13-
sudo
32+
RUN apk add --no-cache openssl bash su-exec sudo && \
33+
chmod +rx /sdaas-st*
34+
35+
COPY --from=build-stage /sdaas ${JETTY_WEBAPPS}/sdaas
36+
COPY webapps/shared ${JETTY_WEBAPPS}/shared
1437

15-
# unpack and rename the blazegraph webapp
16-
RUN unzip ${JETTY_WEBAPPS}/bigdata.war -d ${JETTY_WEBAPPS}/sdaas; \
17-
rm -f ${JETTY_WEBAPPS}/bigdata.war
1838

19-
COPY html /var/lib/jetty/webapps/sdaas/
20-
CMD /sdaas-start --foreground
39+
CMD /sdaas-start --foreground
File renamed without changes.

0 commit comments

Comments
 (0)