feat: first working version

This commit is contained in:
2026-07-18 08:44:23 +02:00
parent 885134989d
commit 60d74112dc
7 changed files with 31 additions and 19 deletions
+2
View File
@@ -5,4 +5,6 @@ LABEL org.opencontainers.image.description="janishutz dev containers base image,
RUN pacman --noconfirm -Sy fish wget git
WORKDIR /mnt
CMD [ "fish" ]
+13 -5
View File
@@ -1,5 +1,7 @@
#!/bin/sh
set -e
echo "
Building base container
"
@@ -14,13 +16,19 @@ echo "
Building Vue container
"
./build-helper.sh git.janishutz.com/registry/dev-container-vue vue
#
# echo "
# Building Python container
# "
# ./build-helper.sh git.janishutz.com/registry/dev-container-python python
echo "
Building Python container
"
./build-helper.sh git.janishutz.com/registry/dev-container-python python
#
# echo "
# Building php container
# "
# ./build-helper.sh git.janishutz.com/registry/dev-container-php php
echo "
==> Build successful at $(date)
"
+6
View File
@@ -0,0 +1,6 @@
FROM git.janishutz.com/registry/dev-container-base
RUN pacman --noconfirm -S python python-pip python-yaml python-wheel python-scipy \
python-numpy python-pillow python-jsonschema python-pytest python-installer \
python-colorama python-matplotlib python-setuptools python-sympy python-packaging \
python-pyaml python-argcomplete python-cryptography
View File
+1 -1
View File
@@ -4,7 +4,7 @@ containername=$([[ $1 ]] && echo $1 || echo "devcontainer")
containermount=$([[ $2 ]] && echo $2 || echo "$HOME/projects/")
echo "
=> Mounting folder to /mnt
=> Mounting folder $containermount to /mnt (in container)
"
docker run -it \
+3 -7
View File
@@ -3,11 +3,7 @@
containername=$([[ $1 ]] && echo $1 || echo "webserver")
containermount=$([[ $2 ]] && echo $2 || echo "$HOME/projects/")
echo "
=> Mounting folder to /mnt
"
docker run --rm \
-v $containermount:/mnt \
git.janishutz.com/registry/dev-container-base
# TODO: Update the used image
-v $containermount:/var/www/html \
--name $containername \
erseco/alpine-php-webserver
View File