From a04232b23018cdb2b0956e568709683e5bd7747c Mon Sep 17 00:00:00 2001 From: Menaka Jayawardena Date: Fri, 9 Apr 2021 12:38:28 +0530 Subject: [PATCH] Upgrade docker base os --- enforcer/src/main/resources/Dockerfile | 3 +-- router/src/main/resources/Dockerfile | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/enforcer/src/main/resources/Dockerfile b/enforcer/src/main/resources/Dockerfile index feb1cdbbc5..09ad2e8548 100644 --- a/enforcer/src/main/resources/Dockerfile +++ b/enforcer/src/main/resources/Dockerfile @@ -15,9 +15,8 @@ # ----------------------------------------------------------------------- # TODO: (VirajSalaka) finalize jdk 11 image -FROM alpine:3.13.4 as alpine FROM adoptopenjdk/openjdk11:jre-11.0.10_9-alpine -COPY --from=alpine . . +RUN apk update && apk upgrade --no-cache LABEL maintainer="WSO2 Docker Maintainers " diff --git a/router/src/main/resources/Dockerfile b/router/src/main/resources/Dockerfile index 63835945fd..dac7d9827d 100644 --- a/router/src/main/resources/Dockerfile +++ b/router/src/main/resources/Dockerfile @@ -13,9 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # ----------------------------------------------------------------------- -FROM alpine:3.13.4 as alpine FROM envoyproxy/envoy-alpine:v1.17.1 -COPY --from=alpine . . +RUN apk update && apk upgrade --no-cache ENV LANG=C.UTF-8