FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
ReactiveMongo/tools/docker/java-dockerfile at master · ReactiveMongo/ReactiveMongo · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
ReactiveMongo
/
ReactiveMongo
Public
Notifications
You must be signed in to change notification settings
Fork
227
Star
857
Code
Issues
13
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
ReactiveMongo
/
tools
/
docker
/
java-dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
41 lines (33 loc) · 1.55 KB
Breadcrumbs
ReactiveMongo
/
tools
/
docker
/
java-dockerfile
Copy path
File metadata and controls
41 lines (33 loc) · 1.55 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
FROM openjdk:8-jdk-alpine
ARG mongoMajor
ARG mongoProfile
ARG akkaVersion
ARG iterateesVersion
ARG scalaVersion
ARG sslPass
LABEL org.reactivemongo.mongoMajor="${mongoMajor}" \
org.reactivemongo.mongoProfile="${mongoProfile}" \
org.reactivemongo.akkaVersion="${akkaVersion}" \
org.reactivemongo.iterateesVersion="${iterateesVersion}" \
org.reactivemongo.scalaVersion="${scalaVersion}"
ENV MONGO_VER=${mongoMajor} MONGO_PROFILE=${mongoProfile}
ENV AKKA_VERSION=${akkaVersion} ITERATEES_VERSION=${iterateesVersion}
ENV SCALA_VERSION=${scalaVersion} SSL_PASS=${sslPass}
ENV PRIMARY_HOST=db:27018 PRIMARY_SLOW_PROXY=localhost:27019
RUN apk add --no-cache tzdata curl bash git openssl && \
cp /usr/share/zoneinfo/Europe/Paris /etc/localtime && \
echo "Europe/Paris" > /etc/timezone && \
apk del tzdata && \
cd /root && \
(curl -L -s -o /dev/stdout 'https://github.com/sbt/sbt/releases/download/v1.1.4/sbt-1.1.4.tgz' | tar -xzvf -) && \
cd /usr/bin && \
(curl -L -s -o /dev/stdout 'https://github.com/jwilder/dockerize/releases/download/v0.3.0/dockerize-linux-amd64-v0.3.0.tar.gz' | tar -xzvf -) && \
(ntpd -d -q -n -p time.google.com || ( \
echo "Fails to sync time"; true ))
ENV PATH="${PATH}:/root/sbt/bin" SCRIPT_DIR=/root/ReactiveMongo/.ci_scripts
# Assume the following files are available in the shared volume,
# as copied by the db entrypoint (see 'Copy SSL certs ...' in its dockerfile)
# - /root/ReactiveMongo/.ci_scripts/client-cert.pem
# - /root/ReactiveMongo/.ci_scripts/root-ca/root-ca.pem
# - /root/ReactiveMongo/.ci_scripts/keystore.p12
WORKDIR /root/ReactiveMongo
Back
|
FazBrowse Home
|
New Git URL