Skip to content

Commit 8b0e1d2

Browse files
Fix arguments to dockerfiles
1 parent 332c3a4 commit 8b0e1d2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

client-java-contrib/Dockerfile.gen

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
FROM ghcr.io/yue9944882/crd-model-gen-base:v1.0.0
1+
ARG BASE_IMAGE=ghcr.io/yue9944882/crd-model-gen-base:v1.0.0
2+
FROM ${BASE_IMAGE}
23
# TODO: move this to kubernetes-client group after the permission issue fixed
34

4-
ARG OPENAPI_GENERATOR_COMMIT
55
ARG GENERATION_XML_FILE
6-
ARG OPENAPI_GENERATOR_USER_ORG=OpenAPITools
76

87
# Copy required files
98
COPY openapi-generator/generate_client_in_container.sh /generate_client.sh

client-java-contrib/Dockerfile.gen-base

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
FROM maven:3.5-jdk-8-slim
22

3+
ARG OPENAPI_GENERATOR_COMMIT
4+
ARG OPENAPI_GENERATOR_USER_ORG=OpenAPITools
5+
36
# Install preprocessing script requirements
47
RUN apt-get update && apt-get -y install git python-pip && pip install urllib3==1.24.2
58

0 commit comments

Comments
 (0)