mirror of
https://github.com/corda/corda.git
synced 2024-12-19 21:17:58 +00:00
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:
parent
c58bb4a090
commit
5a31ed0f23
@ -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 && \
|
||||
@ -66,4 +66,4 @@ COPY --chown=corda:corda starting-node.conf /opt/corda/starting-node.conf
|
||||
USER "corda"
|
||||
EXPOSE ${MY_P2P_PORT} ${MY_RPC_PORT} ${MY_RPC_ADMIN_PORT}
|
||||
WORKDIR /opt/corda
|
||||
CMD ["run-corda"]
|
||||
CMD ["run-corda"]
|
||||
|
Loading…
Reference in New Issue
Block a user