#!/bin/sh
exec "$@"
/ # sh docker-entrypoint.sh
: not foundypoint.sh: line 2:
: not foundypoint.sh: line 3:
/ # sh -x /docker-entrypoint.sh
' '
: not foundrypoint.sh: line 3:
' set '-e
/docker-entrypoint.sh: set: line 4: illegal option -
/ # ls -la
total 84
drwxr-xr-x 1 root root 4096 Nov 25 14:10 .
drwxr-xr-x 1 root root 4096 Nov 25 14:10 ..
-rwxr-xr-x 1 root root 0 Nov 25 14:10 .dockerenv
drwxr-xr-x 1 root root 4096 Nov 25 00:52 bin
drwxr-xr-x 5 root root 360 Nov 25 14:10 dev
drwxr-xr-x 1 root root 4096 Nov 25 14:10 docker-entrypoint.d
-rwxrwxrwx 1 root root 1794 Nov 25 01:56 docker-entrypoint.sh
drwxr-xr-x 1 root root 4096 Nov 25 14:10 etc
drwxr-xr-x 1 root root 4096 Nov 25 00:52 home
drwxr-xr-x 1 root root 4096 Nov 25 00:52 lib
drwxr-xr-x 5 root root 4096 Nov 11 18:03 media
drwxr-xr-x 2 root root 4096 Nov 11 18:03 mnt
drwxr-xr-x 1 root root 4096 Nov 25 00:52 opt
dr-xr-xr-x 280 root root 0 Nov 25 14:10 proc
drwx------ 1 root root 4096 Nov 25 14:10 root
drwxr-xr-x 2 root root 4096 Nov 11 18:03 run
drwxr-xr-x 2 root root 4096 Nov 11 18:03 sbin
drwxr-xr-x 2 root root 4096 Nov 11 18:03 srv
dr-xr-xr-x 11 root root 0 Nov 25 14:10 sys
drwxrwxrwt 1 root root 4096 Nov 25 00:52 tmp
drwxr-xr-x 1 root root 4096 Nov 25 00:52 usr
drwxr-xr-x 1 root root 4096 Nov 11 18:03 var