Skip to content

Commit

Permalink
Merge pull request #163 from wunderio/feature/robot-framework
Browse files Browse the repository at this point in the history
SLT-837: Add Robot framework image
  • Loading branch information
Jancis authored Feb 13, 2024
2 parents 5e7e81d + f478f40 commit e9e4766
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
14 changes: 14 additions & 0 deletions silta-robot-framework/README.md
Original file line number Diff line number Diff line change
@@ -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/
13 changes: 13 additions & 0 deletions silta-robot-framework/robot-6/Dockerfile
Original file line number Diff line number Diff line change
@@ -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}"
3 changes: 3 additions & 0 deletions silta-robot-framework/robot-6/TAGS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
6-v1
6-v1.0
6-v1.0.0

0 comments on commit e9e4766

Please sign in to comment.