forked from Mario1159/osic-stacks
Re-organize directory structure
This commit is contained in:
parent
be6d12070d
commit
86d5870129
@ -1,23 +0,0 @@
|
|||||||
# OSIC Stacks - osicstack-base-arch
|
|
||||||
# Base image for OSIC Stacks
|
|
||||||
FROM greyltc/archlinux-aur:paru
|
|
||||||
|
|
||||||
# Update packages
|
|
||||||
RUN pacman -Syuq --noconfirm
|
|
||||||
|
|
||||||
# Install packages
|
|
||||||
RUN aur-install sudo git python python-pipx xz gnu-free-fonts
|
|
||||||
|
|
||||||
# Install volare
|
|
||||||
ENV PATH="${PATH}:/root/.local/bin"
|
|
||||||
RUN pipx install volare
|
|
||||||
|
|
||||||
# Clean cache
|
|
||||||
RUN pacman -Scc
|
|
||||||
|
|
||||||
# Add main user
|
|
||||||
RUN useradd -m designer
|
|
||||||
RUN echo "designer ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/designer
|
|
||||||
|
|
||||||
# Initialize the enviroment keeping container alive
|
|
||||||
CMD ["sleep", "infinity"]
|
|
@ -1,11 +0,0 @@
|
|||||||
$imagename = Read-Host -Prompt 'Container image to initialize: '
|
|
||||||
|
|
||||||
$command = ("docker run -d " +
|
|
||||||
"-v /tmp/.X11-unix:/tmp/.X11-unix " +
|
|
||||||
"-v /mnt/wslg:/mnt/wsl " +
|
|
||||||
"-e WAYLAND_DISPLAY=`$WAYLAND_DISPLAY " +
|
|
||||||
"-e DISPLAY=`$DISPLAY " +
|
|
||||||
"-e XDG_RUNTIME_DIR=/mnt/wslg " +
|
|
||||||
$imagename)
|
|
||||||
|
|
||||||
wsl bash -ic $command
|
|
Loading…
Reference in New Issue
Block a user