4 Star 2 Fork 0

openKylin/openkylin-docker-images

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 600 Bytes
一键复制 编辑 原始数据 按行查看 历史
张瑞安 提交于 2025-12-24 16:24 +08:00 . customize compile core
ARG BASE=openkylin/openkylin:2.0
FROM ${BASE} AS builder
ARG VERSION=22Jul2025
RUN apt update && \
apt install -y wget vim build-essential libopenmpi-dev openmpi-bin libmpich-dev && \
apt clean all && \
rm -rf /var/lib/apt/lists/*
WORKDIR /opt
RUN wget https://github.com/lammps/lammps/archive/refs/tags/stable_${VERSION}.tar.gz \
&& tar -zxvf stable_${VERSION}.tar.gz \
&& rm -f stable_${VERSION}.tar.gz
WORKDIR /opt/lammps-stable_${VERSION}
RUN cp examples/melt/in.melt src/
WORKDIR /opt/lammps-stable_${VERSION}/src
RUN make mpi -j
CMD ["./lmp_mpi", "-in", "in.melt"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openkylin/openkylin-docker-images.git
git@gitee.com:openkylin/openkylin-docker-images.git
openkylin
openkylin-docker-images
openkylin-docker-images
master

搜索帮助