merge changes from workstation "Mustafa":

- add ubuntu libraries
- remove unused Makefile
This commit is contained in:
Jörn-Michael Miehe 2024-11-18 23:33:28 +01:00
parent dd96c4852b
commit f3219e9477
2 changed files with 10 additions and 28 deletions

View file

@ -27,6 +27,16 @@ FROM stage-base AS stage-diagrams
RUN set -ex; \
\
apt-get update; apt-get install -y \
libasound2t64 \
libatk1.0-0t64 \
libatk-bridge2.0-0t64 \
libgbm1 \
libnss3 \
libxcomposite1 \
libxdamage1 \
libxfixes3 \
libxkbcommon0 \
libxrandr2 \
npm \
; rm -rf /var/lib/apt/lists/*; \
\

View file

@ -1,28 +0,0 @@
image_tag = ldericher/autodoc
docker_build = docker build
docker_run = docker run --rm -it
examples_flags = -v "$(shell pwd)/examples:/docs" -u "$(shell id -u):$(shell id -g)"
.PHONY: default
default:
$(info use other targets: image build watch shell clean)
.PHONY: image
image:
$(docker_build) --tag $(image_tag) ./
.PHONY: build
build: image
$(docker_run) $(examples_flags) $(image_tag) -b
.PHONY: watch
watch: image
$(docker_run) $(examples_flags) $(image_tag)
.PHONY: shell
shell: image
$(docker_run) $(examples_flags) --entrypoint ash $(image_tag)
.PHONY: clean
clean:
git clean -xdf ./examples