Skip to content

Commit 4070b5a

Browse files
s4s7pottava
authored andcommitted
update: undo base image & add apk upgrade
1 parent 63a3206 commit 4070b5a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

java/swagger-codegen/versions/2.4/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
# docker run --rm -it -v `pwd`:/src supinf/swagger-codegen:2.4 \
77
# generate -i /src/swagger.yaml -o /src/generated -l javascript
88

9-
FROM openjdk:8u131-jre-alpine
9+
FROM maven:3-jdk-8-alpine
1010

1111
ENV SWAGGER_CODEGEN_VERSION=2.4.7
1212

1313
ADD swagger-codegen /usr/bin/
1414
RUN chmod +x /usr/bin/swagger-codegen \
15-
&& apk --no-cache add bash
15+
&& apk upgrade && apk --no-cache add bash
1616

1717
RUN apk --no-cache add --virtual build-deps curl \
1818
&& repo="https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/${SWAGGER_CODEGEN_VERSION}" \

0 commit comments

Comments
 (0)