mirror of
https://gitee.com/devstar/devcontainer-tweak.git
synced 2025-04-27 03:53:09 +00:00
12 lines
366 B
Docker
12 lines
366 B
Docker
FROM mcr.microsoft.com/devcontainers/base:dev-ubuntu-20.04
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
RUN apt-get update && apt-get install -y openssh-server && apt-get clean && chmod +x /entrypoint.sh
|
|
|
|
|
|
# 当有命令传入时候执行命令,否则执行 tail -f /dev/null
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
# $ docker build -t base-ssh-devcontainer:ubuntu-20.04-20241014 .
|