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 "${@}"
Este commit está contenido en:
Henrik Jonsson
2017-01-26 06:52:43 +01:00
padre f222a64827
commit 551c700351
Se han modificado 2 ficheros con 2 adiciones y 7 borrados

Ver fichero

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

Ver fichero

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