mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Update to test-files, ignore cleanup return code
This commit is contained in:
parent
9c1a5d76af
commit
63c909da42
4
Makefile
4
Makefile
|
@ -34,7 +34,7 @@ run:
|
||||||
# instead we need to use create, network connect and start (see https://success.docker.com/article/multiple-docker-networks)
|
# instead we need to use create, network connect and start (see https://success.docker.com/article/multiple-docker-networks)
|
||||||
docker create --name mail_smtponly_second_network \
|
docker create --name mail_smtponly_second_network \
|
||||||
-v "`pwd`/test/config":/tmp/docker-mailserver \
|
-v "`pwd`/test/config":/tmp/docker-mailserver \
|
||||||
-v "`pwd`/test":/tmp/docker-mailserver-test \
|
-v "`pwd`/test/test-files":/tmp/docker-mailserver-test:ro \
|
||||||
-e SMTP_ONLY=1 \
|
-e SMTP_ONLY=1 \
|
||||||
-e PERMIT_DOCKER=connected-networks \
|
-e PERMIT_DOCKER=connected-networks \
|
||||||
-e DMS_DEBUG=0 \
|
-e DMS_DEBUG=0 \
|
||||||
|
@ -340,7 +340,7 @@ clean:
|
||||||
mail_with_default_relay \
|
mail_with_default_relay \
|
||||||
mail_smtponly_second_network
|
mail_smtponly_second_network
|
||||||
|
|
||||||
docker network rm ${NON_DEFAULT_DOCKER_MAIL_NETWORK_NAME} ${NON_DEFAULT_DOCKER_MAIL_NETWORK_NAME}2
|
-docker network rm ${NON_DEFAULT_DOCKER_MAIL_NETWORK_NAME} ${NON_DEFAULT_DOCKER_MAIL_NETWORK_NAME}2
|
||||||
@if [ -d config.bak ]; then\
|
@if [ -d config.bak ]; then\
|
||||||
rm -rf config ;\
|
rm -rf config ;\
|
||||||
mv config.bak config ;\
|
mv config.bak config ;\
|
||||||
|
|
Loading…
Reference in a new issue