Skip to content

Commit

Permalink
Optimize images removing apt lists
Browse files Browse the repository at this point in the history
  • Loading branch information
luigidellaquila committed Jun 7, 2019
1 parent 2658de5 commit 0616b98
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 2.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ RUN mkdir /orientdb && \
&& rm -rf /orientdb/databases/*


RUN rm -rf /var/lib/apt/lists/*

ENV PATH /orientdb/bin:$PATH

VOLUME ["/orientdb/backup", "/orientdb/databases", "/orientdb/config"]
Expand Down
1 change: 1 addition & 0 deletions 2.2/x86_64/openjdk-slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ RUN mkdir /orientdb && \
&& rm orientdb-community-$ORIENTDB_VERSION.tar.gz \
&& rm -rf /orientdb/databases/*

RUN rm -rf /var/lib/apt/lists/*

ENV PATH /orientdb/bin:$PATH

Expand Down
1 change: 1 addition & 0 deletions 3.0-spatial/x86_64/openjdk-slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ RUN mkdir /orientdb && \
&& rm orientdb-community-$ORIENTDB_VERSION.tar.gz \
&& rm -rf /orientdb/databases/*

RUN rm -rf /var/lib/apt/lists/*

ENV PATH /orientdb/bin:$PATH

Expand Down
2 changes: 2 additions & 0 deletions 3.0-tp3/x86_64/openjdk-slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ RUN mkdir /orientdb && \
&& rm orientdb-tp3-$ORIENTDB_VERSION.tar.gz \
&& rm -rf /orientdb/databases/*

RUN rm -rf /var/lib/apt/lists/*

#overrides internal gremlin-server to set binding to 0.0.0.0 instead of localhost
ADD gremlin-server.yaml /orientdb/config

Expand Down
1 change: 1 addition & 0 deletions 3.0/arm64v8/openjdk-slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ RUN mkdir /orientdb && \
&& rm orientdb-community-$ORIENTDB_VERSION.tar.gz \
&& rm -rf /orientdb/databases/*

RUN rm -rf /var/lib/apt/lists/*

ENV PATH /orientdb/bin:$PATH

Expand Down
1 change: 1 addition & 0 deletions 3.0/x86_64/openjdk-slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ RUN mkdir /orientdb && \
&& rm orientdb-community-$ORIENTDB_VERSION.tar.gz \
&& rm -rf /orientdb/databases/*

RUN rm -rf /var/lib/apt/lists/*

ENV PATH /orientdb/bin:$PATH

Expand Down

0 comments on commit 0616b98

Please sign in to comment.