File: docker-entrypoint.sh

package info (click to toggle)
libvmod-redis 21.0%2B20250505-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 860 kB
  • sloc: ansic: 4,445; sh: 279; makefile: 55; ruby: 36
file content (16 lines) | stat: -rwxr-xr-x 329 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash

mkdir -p /mnt/host

# Beware 'privileged: true' is required for this.
bindfs \
    --force-user=$(id -u dev) \
    --force-group=$(id -g dev) \
    --create-for-user=$HOST_UID \
    --create-for-group=$HOST_GID \
    --chown-ignore \
    --chgrp-ignore \
    /mnt/host.raw \
    /mnt/host

tail -f /dev/null