This repository was archived by the owner on Oct 5, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
dynamodb-janusgraph-docker Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
1
#
2
- # Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ # Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
# Portions copyright 2017 JanusGraph authors
4
4
#
5
5
# Licensed under the Apache License, Version 2.0 (the "License").
13
13
# express or implied. See the License for the specific language governing
14
14
# permissions and limitations under the License.
15
15
#
16
- FROM openjdk:8
16
+ FROM amazonlinux
17
+ RUN yum update -y -q -e 0 && yum upgrade -y -q -e 0 && yum install -y -q java-1.8.0-openjdk unzip
17
18
18
19
ARG server_zip
19
20
ADD ${server_zip} /var
20
21
21
- RUN apt-get update -y && apt-get install -y zip && \
22
- server_base=`basename ${server_zip} .zip` && \
22
+ RUN server_base=`basename ${server_zip} .zip` && \
23
23
unzip -q /var/${server_base}.zip -d /var && \
24
24
mv /var/${server_base} /var/jg
25
25
Original file line number Diff line number Diff line change 1
1
#
2
- # Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ # Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
# Portions copyright 2017 JanusGraph authors
4
4
#
5
5
# Licensed under the Apache License, Version 2.0 (the "License").
13
13
# express or implied. See the License for the specific language governing
14
14
# permissions and limitations under the License.
15
15
#
16
- FROM openjdk:8
16
+ FROM amazonlinux
17
17
18
- RUN apt-get update -y && apt-get install -y zip sqlite3 libsqlite3-dev \
18
+ RUN yum update -y -q -e 0 && yum upgrade -y -q -e 0 \
19
+ && yum install -y -q java-1.8.0-openjdk sqlite3 libsqlite3-dev wget tar gzip \
19
20
&& mkdir -p /var/dynamodblocal
20
21
WORKDIR /var/dynamodblocal
21
22
RUN wget https://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.tar.gz -q -O - | tar -xz
You can’t perform that action at this time.
0 commit comments