1 Star 0 Fork 0

寒月笑天/chirpstack-network-server

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 631 Bytes
一键复制 编辑 原始数据 按行查看 历史
Orne Brocaar 提交于 2021-02-24 09:39 . Update Go + test dependencies.
FROM golang:1.16-alpine AS development
ENV PROJECT_PATH=/chirpstack-network-server
ENV PATH=$PATH:$PROJECT_PATH/build
ENV CGO_ENABLED=0
ENV GO_EXTRA_BUILD_ARGS="-a -installsuffix cgo"
RUN apk add --no-cache ca-certificates tzdata make git bash protobuf
RUN mkdir -p $PROJECT_PATH
COPY . $PROJECT_PATH
WORKDIR $PROJECT_PATH
RUN make dev-requirements
RUN make
FROM alpine:3.13.2 AS production
RUN apk --no-cache add ca-certificates tzdata
COPY --from=development /chirpstack-network-server/build/chirpstack-network-server /usr/bin/chirpstack-network-server
USER nobody:nogroup
ENTRYPOINT ["/usr/bin/chirpstack-network-server"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/inlazy/chirpstack-network-server.git
git@gitee.com:inlazy/chirpstack-network-server.git
inlazy
chirpstack-network-server
chirpstack-network-server
master

搜索帮助