-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use a numeric USER instruction in Dockerfiles #1073
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
USER seluser | ||
USER 1200 | ||
|
||
#======================== | ||
# Selenium Configuration | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,7 +75,7 @@ RUN apt-get -qqy update \ | |
# Run the following commands as non-privileged user | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please only change the |
||
#=================================================== | ||
|
||
USER seluser | ||
USER 1200 | ||
|
||
#============================== | ||
# Scripts to run Selenium Node and XVFB | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key | |
COPY wrap_chrome_binary /opt/bin/wrap_chrome_binary | ||
RUN /opt/bin/wrap_chrome_binary | ||
|
||
USER seluser | ||
USER 1200 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please only change the |
||
|
||
#============================================ | ||
# Chrome webdriver | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ RUN apt-get update -qqy \ | |
fluxbox \ | ||
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/* | ||
|
||
USER seluser | ||
USER 1200 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please only change the |
||
|
||
#============================== | ||
# Generating the VNC password as seluser | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ RUN GK_VERSION=$(if [ ${GECKODRIVER_VERSION:-latest} = "latest" ]; then echo "0. | |
&& chmod 755 /opt/geckodriver-$GK_VERSION \ | ||
&& ln -fs /opt/geckodriver-$GK_VERSION /usr/bin/geckodriver | ||
|
||
USER seluser | ||
USER 1200 | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please only change the |
||
COPY generate_config /opt/bin/generate_config | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ RUN apt-get update -qqy \ | |
fluxbox \ | ||
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/* | ||
|
||
USER seluser | ||
USER 1200 | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please only change the |
||
#============================== | ||
# Generating the VNC password as seluser | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ RUN wget -q -O - https://deb.opera.com/archive.key | apt-key add - \ | |
COPY wrap_opera_binary /opt/bin/wrap_opera_binary | ||
RUN /opt/bin/wrap_opera_binary | ||
|
||
USER seluser | ||
USER 1200 | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please only change the |
||
#===================== | ||
# Opera webdriver | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ RUN apt-get update -qqy \ | |
fluxbox \ | ||
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/* | ||
|
||
USER seluser | ||
USER 1200 | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please only change the |
||
#============================== | ||
# Generating the VNC password as seluser | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
USER seluser | ||
USER 1200 | ||
|
||
#==================================== | ||
# Scripts to run Selenium Standalone | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
FROM selenium/node-chrome:3.141.59-20200525 | ||
LABEL authors=SeleniumHQ | ||
|
||
USER seluser | ||
USER 1200 | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please only change the |
||
#==================================== | ||
# Scripts to run Selenium Standalone | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
FROM selenium/node-chrome-debug:3.141.59-20200525 | ||
LABEL authors=SeleniumHQ | ||
|
||
USER seluser | ||
USER 1200 | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please only change the |
||
#==================================== | ||
# Scripts to run Selenium Standalone | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
FROM selenium/node-firefox:3.141.59-20200525 | ||
LABEL authors=SeleniumHQ | ||
|
||
USER seluser | ||
USER 1200 | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please only change the |
||
#==================================== | ||
# Scripts to run Selenium Standalone | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
FROM selenium/node-firefox-debug:3.141.59-20200525 | ||
LABEL authors=SeleniumHQ | ||
|
||
USER seluser | ||
USER 1200 | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please only change the |
||
#==================================== | ||
# Scripts to run Selenium Standalone | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
FROM selenium/node-opera:3.141.59-20200525 | ||
LABEL authors=SeleniumHQ | ||
|
||
USER seluser | ||
USER 1200 | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please only change the |
||
#==================================== | ||
# Scripts to run Selenium Standalone | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
FROM selenium/node-opera-debug:3.141.59-20200525 | ||
LABEL authors=SeleniumHQ | ||
|
||
USER seluser | ||
USER 1200 | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please only change the |
||
#==================================== | ||
# Scripts to run Selenium Standalone | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please only change the
Dockerfile.txt
files?