feat(dev): ✨ add super_dev
This commit is contained in:
parent
2405e067b2
commit
4ef9864bfe
@ -1,5 +1,5 @@
|
||||
FROM alpine:latest
|
||||
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tencent.com/g' /etc/apk/repositories \
|
||||
&& apk add gcompat libstdc++ \
|
||||
&& apk add openssh zsh git
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tencent.com/g' /etc/apk/repositories && apk --no-cache add gcompat libstdc++ openssh zsh git
|
||||
|
||||
WORKDIR /root
|
@ -0,0 +1,27 @@
|
||||
version: '3.5'
|
||||
services:
|
||||
alpine:
|
||||
container_name: dev
|
||||
image: alpine:dev
|
||||
build:
|
||||
context: ./alpine
|
||||
hostname: dev
|
||||
volumes:
|
||||
- ${DIR}/alpine/root:/root
|
||||
- ${HOME}/.ssh:/root/host/.ssh
|
||||
networks:
|
||||
- dev
|
||||
command: tail -f /dev/null
|
||||
restart: always
|
||||
super_docker:
|
||||
container_name: super_docker
|
||||
image: justincormack/nsenter1:latest
|
||||
restart: always
|
||||
networks:
|
||||
- dev
|
||||
command: tail -f /dev/null
|
||||
|
||||
|
||||
networks:
|
||||
dev:
|
||||
driver: bridge
|
Loading…
Reference in New Issue
Block a user