diff --git a/docker-compose.yml b/docker-compose.yml index 293aedc27..c495dee57 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -50,8 +50,8 @@ services: networks: - my-network - ts-auth-mongo: - image: mongo + ts-auth-mysql: + image: mysql:5.7 networks: - my-network @@ -64,8 +64,8 @@ services: networks: - my-network - ts-user-mongo: - image: mongo + ts-user-mysql: + image: mysql:5.7 networks: - my-network @@ -78,11 +78,6 @@ services: networks: - my-network - ts-account-mongo: - image: mongo - networks: - - my-network - ts-route-service: build: ts-route-service image: ${IMG_REPO}/ts-route-service:${IMG_TAG} @@ -92,8 +87,8 @@ services: networks: - my-network - ts-route-mongo: - image: mongo + ts-route-mysql: + image: mysql:5.7 networks: - my-network @@ -106,8 +101,8 @@ services: networks: - my-network - ts-contacts-mongo: - image: mongo + ts-contacts-mysql: + image: mysql:5.7 networks: - my-network @@ -120,8 +115,8 @@ services: networks: - my-network - ts-order-mongo: - image: mongo + ts-order-mysql: + image: mysql:5.7 networks: - my-network @@ -134,8 +129,8 @@ services: networks: - my-network - ts-order-other-mongo: - image: mongo + ts-order-other-mysql: + image: mysql:5.7 networks: - my-network @@ -148,8 +143,8 @@ services: networks: - my-network - ts-config-mongo: - image: mongo + ts-config-mysql: + image: mysql:5.7 networks: - my-network @@ -162,8 +157,8 @@ services: networks: - my-network - ts-station-mongo: - image: mongo + ts-station-mysql: + image: mysql:5.7 networks: - my-network @@ -176,8 +171,8 @@ services: networks: - my-network - ts-train-mongo: - image: mongo + ts-train-mysql: + image: mysql:5.7 networks: - my-network @@ -190,8 +185,8 @@ services: networks: - my-network - ts-travel-mongo: - image: mongo + ts-travel-mysql: + image: mysql:5.7 networks: - my-network @@ -204,8 +199,8 @@ services: networks: - my-network - ts-travel2-mongo: - image: mongo + ts-travel2-mysql: + image: mysql:5.7 networks: - my-network @@ -234,16 +229,7 @@ services: ports: - 15680:15680 networks: - - my-network - - ts-ticketinfo-service: - build: ts-ticketinfo-service - image: ${IMG_REPO}/ts-ticketinfo-service:${IMG_TAG} - restart: always - ports: - - 15681:15681 - networks: - - my-network + - my-network ts-price-service: build: ts-price-service @@ -254,9 +240,8 @@ services: networks: - my-network - - ts-price-mongo: - image: mongo + ts-price-mysql: + image: mysql:5.7 networks: - my-network @@ -269,6 +254,11 @@ services: networks: - my-network + ts-notification-mysql: + image: mysql:5.7 + networks: + - my-network + ts-security-service: build: ts-security-service image: ${IMG_REPO}/ts-security-service:${IMG_TAG} @@ -278,8 +268,8 @@ services: networks: - my-network - ts-security-mongo: - image: mongo + ts-security-mysql: + image: mysql:5.7 networks: - my-network @@ -292,8 +282,8 @@ services: networks: - my-network - ts-inside-payment-mongo: - image: mongo + ts-inside-payment-mysql: + image: mysql:5.7 networks: - my-network @@ -315,8 +305,8 @@ services: networks: - my-network - ts-payment-mongo: - image: mongo + ts-payment-mysql: + image: mysql:5.7 networks: - my-network @@ -329,8 +319,8 @@ services: networks: - my-network - ts-rebook-mongo: - image: mongo + ts-rebook-mysql: + image: mysql:5.7 networks: - my-network @@ -348,12 +338,12 @@ services: image: ${IMG_REPO}/ts-assurance-service:${IMG_TAG} restart: always ports: - - 18888:18888 + - 18889:18889 networks: - my-network - ts-assurance-mongo: - image: mongo + ts-assurance-mysql: + image: mysql:5.7 networks: - my-network @@ -384,8 +374,8 @@ services: networks: - my-network - ts-ticket-office-mongo: - image: mongo + ts-ticket-office-mysql: + image: mysql:5.7 networks: - my-network @@ -398,8 +388,8 @@ services: networks: - my-network - ts-news-mongo: - image: mongo + ts-news-mysql: + image: mysql:5.7 networks: - my-network @@ -425,20 +415,6 @@ services: networks: - my-network - ts-food-map-service: - build: ts-food-map-service - image: ${IMG_REPO}/ts-food-map-service:${IMG_TAG} - restart: always - ports: - - 18855:18855 - networks: - - my-network - - ts-food-map-mongo: - image: mongo - networks: - - my-network - ts-route-plan-service: build: ts-route-plan-service image: ${IMG_REPO}/ts-route-plan-service:${IMG_TAG} @@ -466,8 +442,8 @@ services: networks: - my-network - ts-consign-mongo: - image: mongo + ts-consign-mysql: + image: mysql:5.7 networks: - my-network @@ -480,13 +456,13 @@ services: networks: - my-network - ts-consign-price-mongo: - image: mongo + ts-consign-price-mysql: + image: mysql:5.7 networks: - my-network - ts-food-mongo: - image: mongo + ts-food-mysql: + image: mysql:5.7 networks: - my-network @@ -548,13 +524,85 @@ services: - my-network ts-avatar-service: - image: ${NAMESPACE}/ts-avatar-service:${TAG} + image: ${IMG_REPO}/ts-avatar-service:${IMG_TAG} restart: always ports: - 17001:17001 networks: - my-network + ts-delivery-service: + build: ts-delivery-service + image: ${IMG_REPO}/ts-delivery-service:${IMG_TAG} + restart: always + ports: + - 18808:18808 + networks: + - my-network + + ts-delivery-mysql: + image: mysql:5.7 + networks: + - my-network + + ts-food-delivery-service: + build: ts-food-delivery-service + image: ${IMG_REPO}/ts-food-delivery-service:${IMG_TAG} + restart: always + ports: + - 18957:18957 + networks: + - my-network + + ts-food-delivery-mysql: + image: mysql:5.7 + networks: + - my-network + + ts-gateway-service: + build: ts-gateway-service + image: ${IMG_REPO}/ts-gateway-service:${IMG_TAG} + restart: always + ports: + - 18888:18888 + networks: + - my-network + + ts-gateway-mysql: + image: mysql:5.7 + networks: + - my-network + + ts-station-food-service: + build: ts-station-food-service + image: ${IMG_REPO}/ts-station-food-service:${IMG_TAG} + restart: always + ports: + - 18855:18855 + networks: + - my-network + + ts-station-food-mysql: + image: mysql:5.7 + networks: + - my-network + + + ts-train-food-service: + build: ts-train-food-service + image: ${IMG_REPO}/ts-train-food-service:${IMG_TAG} + restart: always + ports: + - 19999:19999 + networks: + - my-network + + ts-train-food-mysql: + image: mysql:5.7 + networks: + - my-network + + networks: my-network: # driver: overlay diff --git a/ts-admin-basic-info-service/Dockerfile b/ts-admin-basic-info-service/Dockerfile index 3862d1c70..5f3f7b326 100644 --- a/ts-admin-basic-info-service/Dockerfile +++ b/ts-admin-basic-info-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-admin-order-service/Dockerfile b/ts-admin-order-service/Dockerfile index ce0b649b9..b7b135bd0 100644 --- a/ts-admin-order-service/Dockerfile +++ b/ts-admin-order-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-admin-route-service/Dockerfile b/ts-admin-route-service/Dockerfile index 0b818ba32..699a5b1e1 100644 --- a/ts-admin-route-service/Dockerfile +++ b/ts-admin-route-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-admin-travel-service/Dockerfile b/ts-admin-travel-service/Dockerfile index fd4044fd6..42a7b8cd4 100644 --- a/ts-admin-travel-service/Dockerfile +++ b/ts-admin-travel-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-admin-user-service/Dockerfile b/ts-admin-user-service/Dockerfile index 78d3dcd2f..3b92587fe 100644 --- a/ts-admin-user-service/Dockerfile +++ b/ts-admin-user-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-assurance-service/Dockerfile b/ts-assurance-service/Dockerfile index 6991cfd7e..b8bb75e69 100644 --- a/ts-assurance-service/Dockerfile +++ b/ts-assurance-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-auth-service/Dockerfile b/ts-auth-service/Dockerfile index cbc06d73b..28985a8a2 100644 --- a/ts-auth-service/Dockerfile +++ b/ts-auth-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-basic-service/Dockerfile b/ts-basic-service/Dockerfile index 44045e159..043c4a3a2 100644 --- a/ts-basic-service/Dockerfile +++ b/ts-basic-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-cancel-service/Dockerfile b/ts-cancel-service/Dockerfile index e553e76c0..45621ac2c 100644 --- a/ts-cancel-service/Dockerfile +++ b/ts-cancel-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-config-service/Dockerfile b/ts-config-service/Dockerfile index dd9aaba1c..5df925088 100644 --- a/ts-config-service/Dockerfile +++ b/ts-config-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-consign-price-service/Dockerfile b/ts-consign-price-service/Dockerfile index 1d7c87766..b0aee0847 100644 --- a/ts-consign-price-service/Dockerfile +++ b/ts-consign-price-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-consign-service/Dockerfile b/ts-consign-service/Dockerfile index d592b2afb..3dc285f88 100644 --- a/ts-consign-service/Dockerfile +++ b/ts-consign-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-contacts-service/Dockerfile b/ts-contacts-service/Dockerfile index 35be04a09..45d2e709d 100644 --- a/ts-contacts-service/Dockerfile +++ b/ts-contacts-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-delivery-service/Dockerfile b/ts-delivery-service/Dockerfile index 619afbee4..288f2e726 100644 --- a/ts-delivery-service/Dockerfile +++ b/ts-delivery-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-execute-service/Dockerfile b/ts-execute-service/Dockerfile index b97ab4739..eb10509e9 100644 --- a/ts-execute-service/Dockerfile +++ b/ts-execute-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-food-delivery-service/Dockerfile b/ts-food-delivery-service/Dockerfile index fcca1fb4a..8bede2579 100644 --- a/ts-food-delivery-service/Dockerfile +++ b/ts-food-delivery-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-food-service/Dockerfile b/ts-food-service/Dockerfile index bf68dd49c..6b9998edf 100644 --- a/ts-food-service/Dockerfile +++ b/ts-food-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-gateway-service/Dockerfile b/ts-gateway-service/Dockerfile index 3468588f2..e36774ddd 100644 --- a/ts-gateway-service/Dockerfile +++ b/ts-gateway-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-inside-payment-service/Dockerfile b/ts-inside-payment-service/Dockerfile index 2b4cc4523..25fc43b13 100644 --- a/ts-inside-payment-service/Dockerfile +++ b/ts-inside-payment-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-notification-service/Dockerfile b/ts-notification-service/Dockerfile index b1d835884..35bcfc4d8 100644 --- a/ts-notification-service/Dockerfile +++ b/ts-notification-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-order-other-service/Dockerfile b/ts-order-other-service/Dockerfile index e53ed542a..412f37be7 100644 --- a/ts-order-other-service/Dockerfile +++ b/ts-order-other-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-order-service/Dockerfile b/ts-order-service/Dockerfile index da8c10924..f1be5540c 100644 --- a/ts-order-service/Dockerfile +++ b/ts-order-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-payment-service/Dockerfile b/ts-payment-service/Dockerfile index fa20f2bf6..8748daa23 100644 --- a/ts-payment-service/Dockerfile +++ b/ts-payment-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-preserve-other-service/Dockerfile b/ts-preserve-other-service/Dockerfile index 6f1fac7e3..8d6026eb7 100644 --- a/ts-preserve-other-service/Dockerfile +++ b/ts-preserve-other-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-preserve-service/Dockerfile b/ts-preserve-service/Dockerfile index cf9785e87..bd00aae68 100644 --- a/ts-preserve-service/Dockerfile +++ b/ts-preserve-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-price-service/Dockerfile b/ts-price-service/Dockerfile index 0c994fc0e..c16f734a9 100644 --- a/ts-price-service/Dockerfile +++ b/ts-price-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-rebook-service/Dockerfile b/ts-rebook-service/Dockerfile index 79868eca0..9d57e783f 100644 --- a/ts-rebook-service/Dockerfile +++ b/ts-rebook-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-route-plan-service/Dockerfile b/ts-route-plan-service/Dockerfile index ffdb504c8..c21703216 100644 --- a/ts-route-plan-service/Dockerfile +++ b/ts-route-plan-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-route-service/Dockerfile b/ts-route-service/Dockerfile index 5327d62e7..d52586927 100644 --- a/ts-route-service/Dockerfile +++ b/ts-route-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-seat-service/Dockerfile b/ts-seat-service/Dockerfile index 92128650a..13970e8ce 100644 --- a/ts-seat-service/Dockerfile +++ b/ts-seat-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-security-service/Dockerfile b/ts-security-service/Dockerfile index cd6b723b8..1534ce3e5 100644 --- a/ts-security-service/Dockerfile +++ b/ts-security-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-station-food-service/Dockerfile b/ts-station-food-service/Dockerfile index 0fc92f341..4f5fbec56 100644 --- a/ts-station-food-service/Dockerfile +++ b/ts-station-food-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-station-service/Dockerfile b/ts-station-service/Dockerfile index 9b9597390..db5e59581 100644 --- a/ts-station-service/Dockerfile +++ b/ts-station-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-train-food-service/Dockerfile b/ts-train-food-service/Dockerfile index de3c56173..adaf034c2 100644 --- a/ts-train-food-service/Dockerfile +++ b/ts-train-food-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-train-service/Dockerfile b/ts-train-service/Dockerfile index 6ac50c626..69f5bd34e 100644 --- a/ts-train-service/Dockerfile +++ b/ts-train-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-travel-plan-service/Dockerfile b/ts-travel-plan-service/Dockerfile index 414cf5ff0..511855b85 100644 --- a/ts-travel-plan-service/Dockerfile +++ b/ts-travel-plan-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-travel-service/Dockerfile b/ts-travel-service/Dockerfile index 87c3aa255..5374a9b79 100644 --- a/ts-travel-service/Dockerfile +++ b/ts-travel-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-travel2-service/Dockerfile b/ts-travel2-service/Dockerfile index 6609a14bc..9772985c5 100644 --- a/ts-travel2-service/Dockerfile +++ b/ts-travel2-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-user-service/Dockerfile b/ts-user-service/Dockerfile index f3835c3ce..688de9f46 100644 --- a/ts-user-service/Dockerfile +++ b/ts-user-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-verification-code-service/Dockerfile b/ts-verification-code-service/Dockerfile index c797703fd..064edb0bb 100644 --- a/ts-verification-code-service/Dockerfile +++ b/ts-verification-code-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone diff --git a/ts-wait-order-service/Dockerfile b/ts-wait-order-service/Dockerfile index 5b88a2863..a6e396e47 100644 --- a/ts-wait-order-service/Dockerfile +++ b/ts-wait-order-service/Dockerfile @@ -1,4 +1,4 @@ -FROM java:8-jre +FROM openjdk:8-jre RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone