Dockerfile: Remove 2 year old deprecation warning
License: MIT Signed-off-by: kpcyrd <git@rxv.cc>
kpcyrd committed
Apr 5, 2019 at 14:10 UTC
9317649c33c989e505d9e014e93c7843bfb30fef
1 file changed
+1
-19
bin/container_daemon
+1
-19
@@ -26,22 +26,4 @@ else
26
ipfs config Addresses.Gateway /ip4/0.0.0.0/tcp/8080
27
fi
28
29
-# if the first argument is daemon
30
-if [ "$1" = "daemon" ]; then
31
- # filter the first argument until
32
- # https://github.com/ipfs/go-ipfs/pull/3573
33
- # has been resolved
34
- shift
35
-else
36
- # print deprecation warning
37
- # go-ipfs used to hardcode "ipfs daemon" in it's entrypoint
38
- # this workaround supports the new syntax so people start setting daemon explicitly
39
- # when overwriting CMD
40
- echo "DEPRECATED: arguments have been set but the first argument isn't 'daemon'" >&2
41
- echo "DEPRECATED: run 'docker run ipfs/go-ipfs daemon $@' instead" >&2
42
- echo "DEPRECATED: see the following PRs for more information:" >&2
43
- echo "DEPRECATED: * https://github.com/ipfs/go-ipfs/pull/3573" >&2
44
- echo "DEPRECATED: * https://github.com/ipfs/go-ipfs/pull/3685" >&2
45
-fi
46
-
47
-exec ipfs daemon "$@"
29
+exec ipfs "$@"