1 Star 0 Fork 0

Rick/atest-ext-store-iotdb

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 762 Bytes
一键复制 编辑 原始数据 按行查看 历史
ARG GO_BUILDER=docker.io/library/golang:1.22
ARG BASE_IMAGE=docker.io/library/alpine:3.12
FROM ${GO_BUILDER} AS builder
ARG VERSION
ARG GOPROXY
WORKDIR /workspace
COPY . .
RUN GOPROXY=${GOPROXY} go mod download
RUN GOPROXY=${GOPROXY} CGO_ENABLED=0 go build -ldflags "-w -s -X github.com/linuxsuren/api-testing/pkg/version.version=${VERSION}\
-X github.com/linuxsuren/api-testing/pkg/version.date=$(date +%Y-%m-%d)" -o atest-store-iotdb .
FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.source=https://github.com/LinuxSuRen/atest-ext-store-iotdb
LABEL org.opencontainers.image.description="IoTDB database Store Extension of the API Testing."
COPY --from=builder /workspace/atest-store-iotdb /usr/local/bin/atest-store-iotdb
CMD [ "atest-store-iotdb" ]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/linuxsuren/atest-ext-store-iotdb.git
git@gitee.com:linuxsuren/atest-ext-store-iotdb.git
linuxsuren
atest-ext-store-iotdb
atest-ext-store-iotdb
master

搜索帮助