-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #163 from wunderio/feature/robot-framework
SLT-837: Add Robot framework image
- Loading branch information
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
6-v1 | ||
6-v1.0 | ||
6-v1.0.0 |