3 Star 0 Fork 0

ynf/ymk_community_management

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile.dev 871 Bytes
一键复制 编辑 原始数据 按行查看 历史
ynf 提交于 2023-04-10 14:48 . rename image name
FROM python:3.11-bullseye as builder
SHELL ["/bin/bash", "-c"]
ENV BUILD_TYPE=dev
WORKDIR /app
COPY etc/apt/sources.list /etc/apt/sources.list
RUN apt update && apt install -y \
docker.io \
sqlite3 \
iputils-ping \
vim \
nginx
RUN cd /root && \
wget -O go1.20.2.linux-amd64.tar.gz \
https://dl.google.com/go/go1.20.2.linux-amd64.tar.gz && \
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.20.2.linux-amd64.tar.gz && \
echo 'export PATH=$PATH:/usr/local/go/bin:/root/go/bin:/workspaces/ymk_community_management/__pypackages__/3.11/bin' >> ~/.profile
RUN source ~/.profile && \
go env -w GO111MODULE=on && \
go env -w GOPROXY=https://goproxy.cn,direct && \
go install mvdan.cc/sh/v3/cmd/shfmt@latest
COPY .devcontainer/install_pdm.sh /app/.devcontainer/install_pdm.sh
RUN sh /app/.devcontainer/install_pdm.sh
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lmk73444/ymk_community_management.git
git@gitee.com:lmk73444/ymk_community_management.git
lmk73444
ymk_community_management
ymk_community_management
master

搜索帮助