Switch base image to Ubuntu and update package installation commands
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
FROM fedora:latest
|
||||
FROM ubuntu:latest
|
||||
|
||||
# 1. 基础工具 (包含 Zed 远程运行所需的 procps-ng, tar)
|
||||
RUN dnf update -y && dnf install -y \
|
||||
curl git wget unzip procps-ng tar gzip shellcheck vim\
|
||||
gcc gcc-c++ make cmake openssl-devel tmux jq\
|
||||
# 1. 基础工具 (包含 Zed 远程运行所需的 procps, tar)
|
||||
RUN apt-get update && apt-get install -y \
|
||||
curl git wget unzip procps tar gzip shellcheck vim \
|
||||
gcc g++ make cmake libssl-dev tmux jq \
|
||||
zsh sudo python3 python3-pip openssh-server \
|
||||
&& dnf clean all
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# 2. 环境变量
|
||||
ENV CARGO_HOME=/usr/local/cargo \
|
||||
|
||||
Reference in New Issue
Block a user