First commit
This commit is contained in:
9
dev-box/Dockerfile
Normal file
9
dev-box/Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM quay.io/archlinux/archlinux
|
||||
|
||||
RUN pacman -Sy --noconfirm openssh git vim go zsh curl tmux base-devel
|
||||
RUN /usr/bin/ssh-keygen -A
|
||||
RUN /usr/bin/sed -i 's/bash/zsh/' /etc/passwd
|
||||
|
||||
EXPOSE 22
|
||||
|
||||
CMD ["/usr/sbin/sshd", "-D"]
|
||||
9
dev-box/Dockerfile_old
Normal file
9
dev-box/Dockerfile_old
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM docker.io/archlinux:latest
|
||||
|
||||
RUN pacman -Sy --noconfirm openssh git vim go zsh curl tmux base-devel
|
||||
RUN /usr/bin/ssh-keygen -A
|
||||
RUN /usr/bin/sed -i 's/bash/zsh/' /etc/passwd
|
||||
|
||||
EXPOSE 22
|
||||
|
||||
CMD ["/usr/sbin/sshd", "-D"]
|
||||
20
dev-box/compose.yaml
Normal file
20
dev-box/compose.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
version: "3.7"
|
||||
services:
|
||||
dev-box:
|
||||
build:
|
||||
context: .
|
||||
ports:
|
||||
- "2222:22"
|
||||
- "8080:8080"
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- /root/dev-box/projects:/projects
|
||||
- /root/dev-box/home:/root
|
||||
restart: always
|
||||
tty: true
|
||||
#volumes:
|
||||
# cifs_projects:
|
||||
# driver_opts:
|
||||
# type: cifs
|
||||
# o: username=nasuser,password=nasuser,uid=0,noperm
|
||||
# device: //192.168.0.69/Data/Projects
|
||||
Reference in New Issue
Block a user