Skip to content

Commit 206fa37

Browse files
authored
Add missing yum clean all to JAVA install block in AL2 (ARM) (#485)
This fixes an issue with the PowerShell Core installation, as an empty continuation line at the end of the JAVA install block was messing with ENV POWERSHELL_VERSION being set. Adds the `&& yum clean all` present in the AL2 x86_64 image.
1 parent 9282872 commit 206fa37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

al2/aarch64/standard/2.0/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ ENV PATH "/usr/local/bin/sbt/bin:$PATH"
203203
RUN sbt version
204204
# Cleanup
205205
RUN rm -fr /tmp/* /var/tmp/* \
206+
&& yum clean all
206207
#**************** END JAVA ****************************************************
207208

208209

0 commit comments

Comments
 (0)