To install a custom package or modify an existing docker image we need to
- run a docker a container from the image we wish to modify
- modify the docker container
- commit the changes to the container as a docker image
- test changes made to image
| dn: cn=config | |
| objectClass: olcGlobal | |
| cn: config | |
| olcArgsFile: /home/matt/ldap/proxy/slapd.args | |
| olcPidFile: /home/matt/ldap/proxy/slapd.pid | |
| dn: cn=schema,cn=config | |
| objectClass: olcSchemaConfig | |
| cn: schema |
| #!/bin/bash | |
| # | |
| # Bash `flock` example. | |
| # Works on: Linux, BSD | |
| # Doesn't work on: MacOS | |
| # The file which represent the lock. | |
| LOCKFILE="`basename $0`.lock" | |
| # Timeout in seconds. |
To install a custom package or modify an existing docker image we need to
| #!/bin/bash | |
| # SPDX-License-Identifier: MIT | |
| ## Copyright (C) 2009 Przemyslaw Pawelczyk <przemoc@gmail.com> | |
| ## | |
| ## This script is licensed under the terms of the MIT license. | |
| ## https://opensource.org/licenses/MIT | |
| # | |
| # Lockable script boilerplate | |