diff --git a/silta-robot-framework/README.md b/silta-robot-framework/README.md new file mode 100644 index 00000000..1057dcf6 --- /dev/null +++ b/silta-robot-framework/README.md @@ -0,0 +1,14 @@ +# Silta Robot Framework Docker image + +Docker image based on official instructions at https://docs.robotframework.org/docs/using_rf_in_ci_systems/docker. + +## Usage + +```bash +docker run --rm -v $(pwd)/robot-framework-tests/:/tests --ipc=host --user pwuser wunderio/silta-robot-framework bash -c "robot --outputdir /tmp/output /tests" +``` + +## Resources + +Home page: https://robotframework.org/ +Documentation: https://docs.robotframework.org/ diff --git a/silta-robot-framework/robot-6/Dockerfile b/silta-robot-framework/robot-6/Dockerfile new file mode 100644 index 00000000..d5a637f2 --- /dev/null +++ b/silta-robot-framework/robot-6/Dockerfile @@ -0,0 +1,13 @@ +# https://docs.robotframework.org/docs/using_rf_in_ci_systems/docker +FROM mcr.microsoft.com/playwright:focal +ARG ROBOTFRAMEWORK_VERSION=6.1.1 +USER root +RUN apt-get update +RUN apt-get install -y python3-pip +USER pwuser +RUN pip3 install --user robotframework==${ROBOTFRAMEWORK_VERSION} +RUN pip3 install --user robotframework-browser +RUN pip3 install --user robotframework-requests +RUN ~/.local/bin/rfbrowser init +ENV NODE_PATH=/usr/lib/node_modules +ENV PATH="/home/pwuser/.local/bin:${PATH}" diff --git a/silta-robot-framework/robot-6/TAGS b/silta-robot-framework/robot-6/TAGS new file mode 100644 index 00000000..60284148 --- /dev/null +++ b/silta-robot-framework/robot-6/TAGS @@ -0,0 +1,3 @@ +6-v1 +6-v1.0 +6-v1.0.0