[add] blender
This commit is contained in:
parent
d2c067fc1a
commit
895a8b9455
8
blender/config/.gitignore
vendored
Normal file
8
blender/config/.gitignore
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# .gitignore sample
|
||||||
|
###################
|
||||||
|
|
||||||
|
# Ignore all files in this dir...
|
||||||
|
*
|
||||||
|
|
||||||
|
# ... except for this one.
|
||||||
|
!.gitignore
|
21
blender/docker-compose.yml
Normal file
21
blender/docker-compose.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
version: "2.1"
|
||||||
|
services:
|
||||||
|
blender:
|
||||||
|
image: lscr.io/linuxserver/blender:latest
|
||||||
|
container_name: blender
|
||||||
|
security_opt:
|
||||||
|
- seccomp:unconfined #optional
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Europe/London
|
||||||
|
- SUBFOLDER=/ #optional
|
||||||
|
- KEYBOARD=en-us-qwerty #optional
|
||||||
|
volumes:
|
||||||
|
- ./config:/config
|
||||||
|
ports:
|
||||||
|
- 3000:3000
|
||||||
|
devices:
|
||||||
|
- /dev/dri:/dev/dri #optional
|
||||||
|
restart: unless-stopped
|
@ -1,24 +0,0 @@
|
|||||||
FROM alpine:latest as build
|
|
||||||
|
|
||||||
LABEL org.label-schema.build-date=$BUILD_DATE \
|
|
||||||
org.label-schema.name="wsdd" \
|
|
||||||
org.label-schema.description=" Web Service Discovery host daemon (wsdd) in a docker container " \
|
|
||||||
org.label-schema.url="https://guillaumedsde.gitlab.io/docker-wsdd/" \
|
|
||||||
org.label-schema.vcs-ref="$VCS_REF" \
|
|
||||||
org.label-schema.version="$VERSION" \
|
|
||||||
org.label-schema.vcs-url="https://github.com/guillaumedsde/docker-wsdd" \
|
|
||||||
org.label-schema.vendor="guillaumedsde" \
|
|
||||||
org.label-schema.schema-version="1.0"
|
|
||||||
|
|
||||||
ARG VERSION=master
|
|
||||||
|
|
||||||
WORKDIR /
|
|
||||||
|
|
||||||
RUN wget "https://raw.githubusercontent.com/christgau/wsdd/${VERSION}/src/wsdd.py" -O /wsdd \
|
|
||||||
&& chmod 755 /wsdd
|
|
||||||
|
|
||||||
FROM gcr.io/distroless/python3
|
|
||||||
|
|
||||||
COPY --from=build /wsdd /usr/bin/wsdd
|
|
||||||
|
|
||||||
ENTRYPOINT [ "python", "/usr/bin/wsdd" ]
|
|
Loading…
Reference in New Issue
Block a user