You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by jb...@apache.org on 2018/08/14 17:58:01 UTC

[geode] branch develop updated: Revert "[GEODE-5580] Convert test-container image to use alpine."

This is an automated email from the ASF dual-hosted git repository.

jbarrett pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new c4ee03d  Revert "[GEODE-5580] Convert test-container image to use alpine."
c4ee03d is described below

commit c4ee03d79d001769e58d7b86a26e2634a23d0949
Author: Jacob Barrett <jb...@pivotal.io>
AuthorDate: Tue Aug 14 10:57:30 2018 -0700

    Revert "[GEODE-5580] Convert test-container image to use alpine."
    
    This reverts commit 4b41429bd3846eef4a31dbc70efb88fed2082227.
---
 ci/images/test-container/Dockerfile | 31 +++++++++++++++++++++++++------
 1 file changed, 25 insertions(+), 6 deletions(-)

diff --git a/ci/images/test-container/Dockerfile b/ci/images/test-container/Dockerfile
index d72e96b..a8a6d86 100644
--- a/ci/images/test-container/Dockerfile
+++ b/ci/images/test-container/Dockerfile
@@ -13,12 +13,31 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-FROM openjdk:8-jdk-alpine
+FROM openjdk:8
 ENTRYPOINT []
 
+ARG CHROME_DRIVER_VERSION=2.35
 
-RUN apk --no-cache add \
-      bash \
-      shadow \
-  && useradd --shell /bin/bash -u 93043 -o -c "" -m geode
-WORKDIR /home/geode
+WORKDIR /tmp/work
+RUN  apt-get update \
+  && apt-get install -y --no-install-recommends \
+     apt-transport-https \
+     lsb-release \
+  && echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list \
+  && curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add - \
+  && apt-get update \
+  && apt-get install -y --no-install-recommends \
+    aptitude \
+    ca-certificates \
+    google-chrome-stable \
+  && wget --no-verbose -O /tmp/chromedriver_linux64.zip https://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip \
+  && rm -rf /opt/selenium/chromedriver \
+  && unzip /tmp/chromedriver_linux64.zip -d /opt/selenium \
+  && rm /tmp/chromedriver_linux64.zip \
+  && mv /opt/selenium/chromedriver /opt/selenium/chromedriver-$CHROME_DRIVER_VERSION \
+  && chmod 755 /opt/selenium/chromedriver-$CHROME_DRIVER_VERSION \
+  && ln -fs /opt/selenium/chromedriver-$CHROME_DRIVER_VERSION /usr/bin/chromedriver \
+  && useradd --shell /bin/bash -u 93043 -o -c "" -m geode \
+  && apt-get clean \
+  && rm -rf /var/lib/apt/lists/* \
+  && rm -rf /tmp/work