Update Dockerfile
This commit is contained in:
@@ -12,7 +12,7 @@ RUN apt-get -y update \
|
|||||||
&& apt-get install -y software-properties-common \
|
&& apt-get install -y software-properties-common \
|
||||||
&& wget -O- https://apt.corretto.aws/corretto.key | sudo apt-key add corretto.key \
|
&& wget -O- https://apt.corretto.aws/corretto.key | sudo apt-key add corretto.key \
|
||||||
&& add-apt-repository 'deb https://apt.corretto.aws stable main' \
|
&& add-apt-repository 'deb https://apt.corretto.aws stable main' \
|
||||||
&& apt-get update \
|
&& apt-get -y update \
|
||||||
&& apt-get install -y java-17-amazon-corretto-jdk ca-certificates-java \
|
&& apt-get install -y java-17-amazon-corretto-jdk ca-certificates-java \
|
||||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*\
|
&& apt-get clean && rm -rf /var/lib/apt/lists/*\
|
||||||
&& update-ca-certificates -f;
|
&& update-ca-certificates -f;
|
||||||
|
|||||||
Reference in New Issue
Block a user