Skip to content
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.

Commit

Permalink
Echo the tag for the image and fix trailing '&&'
Browse files Browse the repository at this point in the history
  • Loading branch information
markus1189 committed Aug 15, 2019
1 parent cfbc5df commit 8c70510
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN \
bash ca-certificates coreutils curl gawk git grep groff gzip \
jq less python sed tar zip software-properties-common apt-transport-https && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/lib/apt/lists/*

# Install Scala
## Piping curl directly in tar
Expand Down Expand Up @@ -77,3 +77,5 @@ RUN \

# Define working directory
WORKDIR /root

RUN echo -e "Tag for this image:\n$(java -version 2>&1 | head -n 1 | grep -o '[[:digit:]._]*')-${SCALA_VERSION}-${SBT_VERSION}-${KUBECTL_VERSION}"

0 comments on commit 8c70510

Please sign in to comment.