Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mbradleySoftrams authored Dec 16, 2024
1 parent fe7eb0e commit 7b839b5
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,23 @@ FROM node:18
# The Taiko installation downloads and installs the chromium required to run the tests.
# However, we need the chromium dependencies installed in the environment. These days, most
# Dockerfiles just install chrome to get the dependencies.
RUN apt-get update \
&& apt-get install -y wget gnupg ca-certificates vim \
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
&& apt-get update \
&& apt-get install -y google-chrome-stable \
&& apt-get install -y unzip \
&& mkdir -p /opt/oracle \
&& cd /opt/oracle \
&& wget https://download.oracle.com/otn_software/linux/instantclient/214000/instantclient-basic-linux.x64-21.4.0.0.0dbru.zip \
&& unzip instantclient-basic-linux.x64-21.4.0.0.0dbru.zip \
&& apt-get install -y libaio1 \
&& sh -c "echo /opt/oracle/instantclient_21_4 > /etc/ld.so.conf.d/oracle-instantclient.conf" \
&& ldconfig \
&& npm install -g @getgauge/cli
# Install Google Chrome
RUN apt-get update && \
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
apt install --assume-yes \
libgbm-dev \
zip \
rsync \
./google-chrome-stable_current_amd64.deb &&\
rm google-chrome-stable_current_amd64.deb &&\
npm install -g @getgauge/cli

# Install Oracle Client
RUN mkdir -p /opt/oracle && \
cd /opt/oracle && \
wget https://download.oracle.com/otn_software/linux/instantclient/214000/instantclient-basic-linux.x64-21.4.0.0.0dbru.zip && \
unzip instantclient-basic-linux.x64-21.4.0.0.0dbru.zip && \
apt-get install -y libaio1 && \
sh -c "echo /opt/oracle/instantclient_21_4 > /etc/ld.so.conf.d/oracle-instantclient.conf" && \
ldconfig

0 comments on commit 7b839b5

Please sign in to comment.