13 lines
217 B
Bash
13 lines
217 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
IMAGE=opendkim
|
||
|
|
||
|
docker build -t $IMAGE .
|
||
|
docker rm -f $IMAGE
|
||
|
docker run -d \
|
||
|
-h $(hostname -f) \
|
||
|
--name $IMAGE \
|
||
|
-v /etc/localtime:/etc/localtime:ro \
|
||
|
-v $PWD/opendkim:/etc/opendkim:ro \
|
||
|
$IMAGE
|