ENV BUILDTIME=true
# Install Python, Pip, Robot framework, chromium, lighttpd web server
+
+# temporarily removed chromium-browser and chromium-chromedriver as
+# they've moved to snaps and we don't have snapd support in this container
+# yet. This will break robot tests that depend on the browser, but we don't
+# have those in the RIC at this point anyway.
+
RUN apt-get update \
&& apt-get install \
--no-install-recommends \
--assume-yes \
- chromium-browser \
- chromium-chromedriver \
dnsutils \
git \
gcc \
net-tools \
php \
php-cgi \
- python2.7 \
+ python3-pip \
python-dev \
python-setuptools \
- python-wheel \
- python-pip \
python-redis \
unzip \
vim \
xxd
-RUN pip install robotframework==3.0.4 \
+RUN pip3 install robotframework==3.0.4 \
&& python --version
# Copy the robot code
COPY robot /var/opt/RIC/robot
-COPY red.xml /var/opt/RIC
+COPY docker/ric-robot/red.xml /var/opt/RIC
COPY ric-python-utils /var/opt/RIC/ric-python-utils
-COPY runTags.sh /var/opt/RIC
-COPY setup.sh /var/opt/RIC
-COPY version.properties /var/opt/RIC
-COPY README.md /var/opt/RIC
+COPY docker/ric-robot/runTags.sh /var/opt/RIC
+COPY docker/ric-robot/setup.sh /var/opt/RIC
+COPY docker/ric-robot/version.properties /var/opt/RIC
+COPY docker/ric-robot/README.md /var/opt/RIC
COPY docker/ric-robot/lighttpd.conf /etc/lighttpd/lighttpd.conf
COPY docker/ric-robot/authorization /etc/lighttpd/authorization