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

Commit 8c70510

Browse files
committed
Echo the tag for the image and fix trailing '&&'
1 parent cfbc5df commit 8c70510

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN \
2020
bash ca-certificates coreutils curl gawk git grep groff gzip \
2121
jq less python sed tar zip software-properties-common apt-transport-https && \
2222
apt-get clean && \
23-
rm -rf /var/lib/apt/lists/* && \
23+
rm -rf /var/lib/apt/lists/*
2424

2525
# Install Scala
2626
## Piping curl directly in tar
@@ -77,3 +77,5 @@ RUN \
7777

7878
# Define working directory
7979
WORKDIR /root
80+
81+
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 commit comments

Comments
 (0)