Skip to content

Commit 72d38ae

Browse files
committed
syntax and readme updates
1 parent ab13a3b commit 72d38ae

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# syntax=docker/dockerfile:1
2+
13
FROM ghcr.io/linuxserver/baseimage-debian:trixie AS resynth
24

35
RUN \

Dockerfile.aarch64

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# syntax=docker/dockerfile:1
2+
13
FROM ghcr.io/linuxserver/baseimage-debian:arm64v8-trixie AS resynth
24

35
RUN \

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,6 @@ services:
187187
gimp:
188188
image: lscr.io/linuxserver/gimp:latest
189189
container_name: gimp
190-
security_opt:
191-
- seccomp:unconfined #optional
192190
environment:
193191
- PUID=1000
194192
- PGID=1000
@@ -198,6 +196,7 @@ services:
198196
ports:
199197
- 3000:3000
200198
- 3001:3001
199+
shm_size: "1gb"
201200
restart: unless-stopped
202201
```
203202
@@ -206,13 +205,13 @@ services:
206205
```bash
207206
docker run -d \
208207
--name=gimp \
209-
--security-opt seccomp=unconfined `#optional` \
210208
-e PUID=1000 \
211209
-e PGID=1000 \
212210
-e TZ=Etc/UTC \
213211
-p 3000:3000 \
214212
-p 3001:3001 \
215213
-v /path/to/config:/config \
214+
--shm-size="1gb" \
216215
--restart unless-stopped \
217216
lscr.io/linuxserver/gimp:latest
218217
```
@@ -229,7 +228,7 @@ Containers are configured using parameters passed at runtime (such as those abov
229228
| `-e PGID=1000` | for GroupID - see below for explanation |
230229
| `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
231230
| `-v /config` | Users home directory in the container, stores local files and settings |
232-
| `--security-opt seccomp=unconfined` | For Docker Engine only, many modern gui apps need this to function on older hosts as syscalls are unknown to Docker. |
231+
| `--shm-size=` | Recommended for all desktop images. |
233232

234233
## Environment variables from files (Docker secrets)
235234

readme-vars.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,15 @@ development_versions: false
1717
# container parameters
1818
common_param_env_vars_enabled: true
1919
param_container_name: "{{ project_name }}"
20-
param_usage_include_env: true
21-
param_env_vars:
22-
- {env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London."}
2320
param_usage_include_vols: true
2421
param_volumes:
2522
- {vol_path: "/config", vol_host_path: "/path/to/config", desc: "Users home directory in the container, stores local files and settings"}
2623
param_usage_include_ports: true
2724
param_ports:
2825
- {external_port: "3000", internal_port: "3000", port_desc: "GIMP desktop gui HTTP, must be proxied."}
2926
- {external_port: "3001", internal_port: "3001", port_desc: "GIMP desktop gui HTTPS."}
30-
opt_security_opt_param: true
31-
opt_security_opt_param_vars:
32-
- {run_var: "seccomp=unconfined", compose_var: "seccomp:unconfined", desc: "For Docker Engine only, many modern gui apps need this to function on older hosts as syscalls are unknown to Docker."}
27+
custom_params:
28+
- {name: "shm-size", name_compose: "shm_size", value: "1gb", desc: "Recommended for all desktop images."}
3329
# Selkies blurb settings
3430
selkies_blurb: true
3531
# application setup block

0 commit comments

Comments
 (0)