test
continuous-integration/drone/push Build is passing Details

master
icechen 2021-12-30 00:43:49 +08:00
parent 39ab44f9ae
commit a08010b83d
2 changed files with 0 additions and 4 deletions

View File

@ -15,8 +15,6 @@ WORKDIR /go/src
COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo
COPY --from=builder /go/src/api_example_api ./ COPY --from=builder /go/src/api_example_api ./
ENV TZ=Asia/Shanghai ENV TZ=Asia/Shanghai
ENV env=pro
ENV endpoints=http://etcd-server:2379
RUN chmod +x ./api_example_api RUN chmod +x ./api_example_api
LABEL io.portainer.accesscontrol.teams="admin" LABEL io.portainer.accesscontrol.teams="admin"
EXPOSE 8080 EXPOSE 8080

View File

@ -15,8 +15,6 @@ WORKDIR /go/src
COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo
COPY --from=builder /go/src/service_example_service ./ COPY --from=builder /go/src/service_example_service ./
ENV TZ=Asia/Shanghai ENV TZ=Asia/Shanghai
ENV env=pro
ENV endpoints=http://etcd-server:2379
RUN chmod +x ./service_example_service RUN chmod +x ./service_example_service
LABEL io.portainer.accesscontrol.teams="admin" LABEL io.portainer.accesscontrol.teams="admin"
EXPOSE 8080 EXPOSE 8080