ES-839: fix for dropping Zulu repository (#7429)

* make sure `rm` doesn't fail if the file is not present
* it makes it easier for forward merge to a branch with newer base image
without that file
This commit is contained in:
Waldemar Żurowski 2023-07-17 19:05:58 +01:00 committed by GitHub
parent c58bb4a090
commit 5a31ed0f23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
FROM azul/zulu-openjdk:8u192
## Remove Azul Zulu repo, as it is gone by now
RUN rm /etc/apt/sources.list.d/zulu.list
RUN rm -rf /etc/apt/sources.list.d/zulu.list
## Add packages, clean cache, create dirs, create corda user and change ownership
RUN apt-get update && \