sbt 1.5.7 (#25)
https://github.com/sbt/sbt/releases/tag/v1.5.6 https://github.com/sbt/sbt/releases/tag/v1.5.7 sbt 1.5.6 updates log4j 2 to 2.15.0, which fixes remote code execution vulnerability (CVE-2021-44228)
This commit is contained in:
Родитель
653a49c20c
Коммит
910e6dd974
|
@ -1,10 +1,10 @@
|
|||
# This Dockerfile has two required ARGs to determine which base image
|
||||
# to use for the JDK and which sbt version to install.
|
||||
|
||||
ARG OPENJDK_TAG=8u232
|
||||
ARG OPENJDK_TAG=8u292
|
||||
FROM openjdk:${OPENJDK_TAG}
|
||||
|
||||
ARG SBT_VERSION=1.4.9
|
||||
ARG SBT_VERSION=1.5.7
|
||||
|
||||
# Install sbt
|
||||
RUN \
|
||||
|
|
|
@ -28,7 +28,7 @@ local caches as volumes and set the working directory as well:
|
|||
To build, you need to specify the desired openjdk and sbt versions via
|
||||
`--build-arg` parameters:
|
||||
|
||||
docker build --build-arg OPENJDK_TAG=8u292 --build-arg SBT_VERSION=1.5.4 .
|
||||
docker build --build-arg OPENJDK_TAG=8u292 --build-arg SBT_VERSION=1.5.7 .
|
||||
|
||||
## Pushing a new tag to DockerHub
|
||||
|
||||
|
@ -42,7 +42,7 @@ Then use the following recipe to build and push:
|
|||
|
||||
```bash
|
||||
OPENJDK_TAG=8u292
|
||||
SBT_VERSION=1.5.4
|
||||
SBT_VERSION=1.5.7
|
||||
|
||||
docker build \
|
||||
--build-arg OPENJDK_TAG=$OPENJDK_TAG \
|
||||
|
|
Загрузка…
Ссылка в новой задаче