Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Commit

Permalink
v2024.01
Browse files Browse the repository at this point in the history
  • Loading branch information
ddetommaso committed Jan 26, 2024
1 parent fc75f95 commit eaff073
Show file tree
Hide file tree
Showing 9 changed files with 120 additions and 559 deletions.
4 changes: 3 additions & 1 deletion .dockyman/profiles/local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ services:
local:
environment:
- DISPLAY=${DISPLAY:?err}
- QT_X11_NO_MITSHM=1
- PULSE_SERVER=unix:${XDG_RUNTIME_DIR:?err}/pulse/native
- PULSE_COOKIE=/run/pulse/cookie
- XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR:?err}
- XDG_DATA_DIRS=${XDG_DATA_DIRS:?err}
- QT_X11_NO_MITSHM=1
- NO_AT_BRIDGE=1
- LIBGL_ALWAYS_INDIRECT=1

extends:
file: gpus.yaml
Expand Down
8 changes: 0 additions & 8 deletions .env

This file was deleted.

107 changes: 107 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Dockyman logfile
lastrun.log
.env

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
4 changes: 0 additions & 4 deletions base/image/.devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,4 @@
"args": { "DOCKER_SRC": "${localEnv:DOCKER_SRC}" }
}

//"features": {
// "ghcr.io/devcontainers/features/go:1": {}
//}

}
6 changes: 4 additions & 2 deletions build.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
PROJECT_NAME=ubuntu20.04
VERSION=v2024.01
REGISTRY=iitschri
PROFILE=development
DOCKYMAN_VER=v1.2

BASE_DOCKER_SRC=ubuntu:20.04
BASE_NAME=${REGISTRY}/ubuntu20.04-docker:${VERSION}
PJT_DOCKER_SRC=ubuntu:20.04
PJT_DOCKER_TAG=${VERSION}
PJT_DOCKER_NAME=${REGISTRY}/${PROJECT_NAME}-docker:${PJT_DOCKER_TAG}
6 changes: 3 additions & 3 deletions compose.base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ services:
service: dockyman

environment:
- DOCKER_SRC=${BASE_DOCKER_SRC}
- DOCKER_SRC=${PJT_DOCKER_SRC}

command: --image_name ${BASE_NAME:?err} --workspace_folder ./base/image
command: --image_name ${PJT_DOCKER_NAME:?err} --workspace_folder ./base/image

volumes:
- type: bind
source: ./
target: /shared
target: /shared
2 changes: 1 addition & 1 deletion compose.local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ services:
file: .dockyman/services/dockyman.yaml
service: dockyman

command: --image_name ${BASE_NAME:?err} --username docky --groups "sudo,audio,video,input,dialout"
command: --image_name ${PJT_DOCKER_NAME:?err} --username docky --groups "sudo,audio,video,input,dialout"
4 changes: 2 additions & 2 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3.8'
services:

main:
image: ${BASE_NAME:?err}.local
image: ${PJT_DOCKER_NAME:?err}.local

extends:
file: .dockyman/profiles/local.yaml
Expand All @@ -23,4 +23,4 @@ services:

- type: bind
source: ./scripts
target: /var/dockyman/scripts
target: /var/dockyman/scripts
Loading

0 comments on commit eaff073

Please sign in to comment.