Skip to content

Commit

Permalink
Refactor Dockerfile and generate_json.sh scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
cbluebird committed Nov 27, 2024
1 parent c69d007 commit 386c3bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Framework/gin/v1.10.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ USER devbox
RUN cd /home/devbox/project && \
go mod tidy && \
go build -o main main.go

USER root
RUN mkdir -p /home/devbox/.devbox
2 changes: 1 addition & 1 deletion script/generate_json.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ for i in "${!DIFF_OUTPUT_ARRAY[@]}"; do
CN_IMAGE_NAME="${ADDR[1]}-$PARENT_DIR:$TAG"
fi

./runtimectl gen --kind=${ADDR[0]} --name=${ADDR[1]} --version=$PARENT_DIR --image=ghcr.io/$DOCKER_USERNAME/devbox/$EN_IMAGE_NAME --port=${PORT_MAP[${ADDR[1]}]} --output=$en_output_file
./runtimectl gen --kind=${ADDR[0]} --name=${ADDR[1]} --version=$PARENT_DIR --image=ghcr.io/$DOCKER_USERNAME/devbox/$EN_IMAGE_NAME
done

0 comments on commit 386c3bb

Please sign in to comment.