zhangjinli 3 years ago
parent 6eafd7c8ef
commit 03b2a2e345

@ -22,10 +22,6 @@ steps:
- mkdir /root/.m2
- cp /usr/share/maven/ref/settings-docker.xml /root/.m2/settings.xml
- sed -i 's/\\/usr\\/share\\/maven\\/ref\\/repository/\\/drone\\/src\\/maven/g' /root/.m2/settings.xml
- apt-get update
- apt-get install yum
- yum install fontconfig
- RUN apk add --update font-adobe-100dpi ttf-dejavu fontconfig
- mvn package
- name: rebuild-cache
image: meltwater/drone-cache

@ -1,4 +1,4 @@
FROM openjdk:8-jdk-alpine
FROM harbor.oa00.com/library/openjdk:8-jdk-alpine
# 从编译阶段的中拷贝编译结果到当前镜像中
COPY ./target/project0512-0.0.1-SNAPSHOT.jar /work/project0512-0.0.1-SNAPSHOT.jar
WORKDIR /work

@ -53,6 +53,7 @@
<result column="title" property="title"/>
<result column="type" property="type"/>
<result column="fileUrl" property="fileUrl"/>
<result column="duration" property="duration"/>
<result column="coverUrl" property="coverUrl"/>
<result column="groupId" property="groupId"/>
<result column="creatAt" property="creatAt"/>

Loading…
Cancel
Save