Skip to content

Commit

Permalink
add clean cache to apt install
Browse files Browse the repository at this point in the history
Signed-off-by: Sofiane Benahmed <benahmed@soramitsu.co.jp>
  • Loading branch information
Sofiane Benahmed authored and MBoldyrev committed Feb 6, 2020
1 parent 59cb3da commit 2ec6868
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/develop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ ENV IROHA_BUILD /opt/iroha/build

RUN apt-get update && \
apt-get -y --no-install-recommends install apt-utils software-properties-common wget gpg-agent; \
apt-get -y clean
apt-get -y clean && \
rm -rf /var/lib/apt/lists/*

# add repos
RUN set -e; \
Expand Down Expand Up @@ -73,6 +74,7 @@ RUN set -e; \
RUN set -e; \
apt-get update; \
apt-get -y install openjdk-8-jre; \
rm -rf /var/lib/apt/lists/*; \
java -version

# python bindings dependencies
Expand Down

0 comments on commit 2ec6868

Please sign in to comment.