14 lines
321 B
Docker
14 lines
321 B
Docker
FROM docker.io/library/alpine:latest
|
||
|
||
# 安装开发工具(合并RUN层,减少镜像大小)
|
||
RUN apk add --no-cache \
|
||
build-base \
|
||
openssh-server openssh-keygen openssh-client \
|
||
openrc \
|
||
git \
|
||
bash \
|
||
curl \
|
||
ca-certificates \
|
||
&& update-ca-certificates \
|
||
&& rm -rf /var/cache/apk/*
|