merge
This commit is contained in:
44
alpine/Dockerfile
Normal file
44
alpine/Dockerfile
Normal file
@@ -0,0 +1,44 @@
|
||||
FROM alpine:latest
|
||||
|
||||
RUN apk add --no-cache \
|
||||
bash \
|
||||
git \
|
||||
neovim \
|
||||
python3 \
|
||||
py3-pip \
|
||||
py3-virtualenv \
|
||||
openssh \
|
||||
cryptsetup \
|
||||
util-linux \
|
||||
pssh \
|
||||
mc \
|
||||
e2fsprogs \
|
||||
screen \
|
||||
rsync
|
||||
|
||||
|
||||
WORKDIR /root
|
||||
|
||||
RUN ln -sf /usr/bin/nvim /usr/bin/vim
|
||||
|
||||
COPY known_hosts /root/.ssh/
|
||||
COPY config /root/.ssh/
|
||||
|
||||
RUN ssh-keygen -t rsa -b 4096 -f /root/.ssh/id_rsa -N "" && \
|
||||
chmod 600 /root/.ssh/id_rsa && \
|
||||
chmod 600 /root/.ssh/config
|
||||
|
||||
COPY ass /usr/bin/
|
||||
COPY template /usr/bin/
|
||||
COPY dpush /usr/bin/
|
||||
COPY create_volume /usr/bin/
|
||||
COPY mount_volume /usr/bin/
|
||||
COPY set_dev /usr/bin/
|
||||
|
||||
COPY .bashrc /root/.bashrc
|
||||
|
||||
WORKDIR /data
|
||||
|
||||
CMD ["bash"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user