Use start-tor-browser as ENTRYPOINT

Any extra commands given at 'docker run' time should be passed to the
script, and onward to the firefox binary:
[...]
./firefox --class "Tor Browser" -profile TorBrowser/Data/Browser/profile.default "${@}"
This commit is contained in:
Henrik Jonsson 2017-01-26 06:52:43 +01:00
parent f222a64827
commit 551c700351
2 changed files with 2 additions and 7 deletions

View File

@ -50,6 +50,5 @@ RUN curl --fail -O -sSL ${RELEASE_URL} && \
WORKDIR /usr/local/bin/Browser/Downloads WORKDIR /usr/local/bin/Browser/Downloads
USER user USER user
COPY [ "start.sh", "/usr/local/bin/" ] ENTRYPOINT ["start-tor-browser"]
CMD [""]
CMD [ "start.sh" ]

View File

@ -1,4 +0,0 @@
#!/bin/bash
/usr/local/bin/Browser/start-tor-browser