mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
feat: remove unnecessary quest Dockerfiles
This commit is contained in:
1 parent
247f03b71a
commit
a4ed4cf533
16 files changed
+8
-49
No files matched your search
@@ -1,3 +0,0 @@
|
||||
FROM linuxodyssey/quest-base
|
||||
|
||||
COPY home ${HOME}
|
||||
@@ -1,3 +0,0 @@
|
||||
FROM linuxodyssey/quest-base
|
||||
|
||||
COPY home ${HOME}
|
||||
@@ -1,7 +0,0 @@
|
||||
FROM linuxodyssey/quest-base
|
||||
|
||||
USER root
|
||||
COPY home .
|
||||
RUN chown -R ${USERNAME}:${USERNAME} .
|
||||
|
||||
USER ${USERNAME}
|
||||
@@ -1,3 +0,0 @@
|
||||
FROM linuxodyssey/quest-base
|
||||
|
||||
COPY home ${HOME}
|
||||
@@ -4,6 +4,7 @@ USERNAME=commander
|
||||
|
||||
if ! id -u ${USERNAME} >/dev/null 2>&1; then
|
||||
adduser --disabled-password --gecos '' --shell /bin/zsh ${USERNAME} && \
|
||||
find / -name ".gitkeep" -type f -exec rm -f {} +
|
||||
mkdir -p /home/${USERNAME}/.ssh && \
|
||||
cp /ssh_key.pub /home/${USERNAME}/.ssh/authorized_keys && \
|
||||
chmod 600 /home/${USERNAME}/.ssh/authorized_keys && \
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
FROM linuxodyssey/quest-base
|
||||
|
||||
USER root
|
||||
COPY home ${HOME}
|
||||
|
||||
USER commander
|
||||
@@ -1,3 +0,0 @@
|
||||
FROM linuxodyssey/quest-base
|
||||
|
||||
COPY home ${HOME}
|
||||
@@ -1,3 +0,0 @@
|
||||
FROM linuxodyssey/quest-base
|
||||
|
||||
COPY home ${HOME}
|
||||
@@ -1,3 +0,0 @@
|
||||
FROM linuxodyssey/quest-base
|
||||
|
||||
COPY --chown=${USERNAME} home ${HOME}
|
||||
@@ -1,3 +0,0 @@
|
||||
FROM linuxodyssey/quest-base
|
||||
|
||||
COPY home ${HOME}
|
||||
@@ -1,3 +0,0 @@
|
||||
FROM linuxodyssey/quest-base
|
||||
|
||||
COPY home ${HOME}
|
||||
@@ -1,4 +0,0 @@
|
||||
FROM linuxodyssey/quest-base
|
||||
|
||||
COPY --chown=${USERNAME} home ${HOME}
|
||||
RUN mkdir empty
|
||||
Whitespace-only changes.
@@ -1,3 +0,0 @@
|
||||
FROM linuxodyssey/quest-base
|
||||
|
||||
COPY home ${HOME}
|
||||
Reference in new issue
Block a user