mirror of
https://github.com/ldericher/autodoc.git
synced 2025-12-06 15:43:01 +00:00
merge changes from workstation "Mustafa":
- add ubuntu libraries - remove unused Makefile
This commit is contained in:
parent
dd96c4852b
commit
f3219e9477
2 changed files with 10 additions and 28 deletions
|
|
@ -27,6 +27,16 @@ FROM stage-base AS stage-diagrams
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
\
|
\
|
||||||
apt-get update; apt-get install -y \
|
apt-get update; apt-get install -y \
|
||||||
|
libasound2t64 \
|
||||||
|
libatk1.0-0t64 \
|
||||||
|
libatk-bridge2.0-0t64 \
|
||||||
|
libgbm1 \
|
||||||
|
libnss3 \
|
||||||
|
libxcomposite1 \
|
||||||
|
libxdamage1 \
|
||||||
|
libxfixes3 \
|
||||||
|
libxkbcommon0 \
|
||||||
|
libxrandr2 \
|
||||||
npm \
|
npm \
|
||||||
; rm -rf /var/lib/apt/lists/*; \
|
; rm -rf /var/lib/apt/lists/*; \
|
||||||
\
|
\
|
||||||
|
|
|
||||||
28
Makefile
28
Makefile
|
|
@ -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
|
|
||||||
Loading…
Reference in a new issue