This is an automated email from the ASF dual-hosted git repository.
sunnianjun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 58d5471d162 Update Dockerfile with new format (#34385)
58d5471d162 is described below
commit 58d5471d1625e778284d27faa5c109848d5160da
Author: MeteorSkyOne <[email protected]>
AuthorDate: Sat Jan 18 08:30:06 2025 +0800
Update Dockerfile with new format (#34385)
---
distribution/proxy/Dockerfile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/distribution/proxy/Dockerfile b/distribution/proxy/Dockerfile
index 604cb078f0c..2c8f67c543c 100644
--- a/distribution/proxy/Dockerfile
+++ b/distribution/proxy/Dockerfile
@@ -17,16 +17,16 @@
FROM alpine AS prepare
ARG APP_NAME
-ENV LOCAL_PATH /opt/shardingsphere-proxy
+ENV LOCAL_PATH=/opt/shardingsphere-proxy
ADD target/${APP_NAME}.tar.gz /opt
RUN mv /opt/${APP_NAME} ${LOCAL_PATH} && mkdir -p ${LOCAL_PATH}/ext-lib
FROM eclipse-temurin:21-jdk
-MAINTAINER ShardingSphere "[email protected]"
+LABEL org.opencontainers.image.authors="ShardingSphere
[email protected]"
-ENV LOCAL_PATH /opt/shardingsphere-proxy
-ENV IS_DOCKER true
+ENV LOCAL_PATH=/opt/shardingsphere-proxy
+ENV IS_DOCKER=true
COPY --from=prepare ${LOCAL_PATH} ${LOCAL_PATH}
ENTRYPOINT ${LOCAL_PATH}/bin/start.sh ${PORT}