First commit
This commit is contained in:
9
winton/Dockerfile
Normal file
9
winton/Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM docker.io/archlinux:latest
|
||||
|
||||
RUN pacman -Sy --noconfirm openssh git vim go zsh curl
|
||||
RUN /usr/bin/ssh-keygen -A
|
||||
RUN /usr/bin/sed -i 's/bash/zsh/' /etc/passwd
|
||||
|
||||
EXPOSE 22
|
||||
|
||||
CMD ["/usr/sbin/sshd", "-D"]
|
||||
14
winton/compose.yaml
Normal file
14
winton/compose.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
version: "3.7"
|
||||
services:
|
||||
winton:
|
||||
build:
|
||||
context: .
|
||||
ports:
|
||||
- "8022:22"
|
||||
volumes:
|
||||
- /root/winton/home:/root
|
||||
restart: always
|
||||
tty: true
|
||||
domainname: 15bt.xyz
|
||||
hostname: winton
|
||||
|
||||
Reference in New Issue
Block a user