wudi 4 anni fa
parent
commit
eaac03b5f7
2 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 5 0
      pom.xml
  2. 2 0
      src/main/docker/Dockerfile

+ 5 - 0
pom.xml

@@ -23,6 +23,11 @@
 			<version>2.6</version>
 			<version>2.6</version>
 		</dependency>
 		</dependency>
 		<dependency>
 		<dependency>
+			<groupId>org.apache.httpcomponents</groupId>
+			<artifactId>httpclient</artifactId>
+			<version>4.5.13</version>
+		</dependency>
+		<dependency>
 			<groupId>org.springframework.boot</groupId>
 			<groupId>org.springframework.boot</groupId>
 			<artifactId>spring-boot-starter-jdbc</artifactId>
 			<artifactId>spring-boot-starter-jdbc</artifactId>
 		</dependency>
 		</dependency>

+ 2 - 0
src/main/docker/Dockerfile

@@ -1,5 +1,7 @@
 FROM tumi9527/openjdk8-jre-slim
 FROM tumi9527/openjdk8-jre-slim
 
 
+RUN apt-get install -y curl
+
 ENV TZ=Asia/Shanghai
 ENV TZ=Asia/Shanghai
 ENV JAR_FILE=target/*.jar
 ENV JAR_FILE=target/*.jar