Details
-
Bug
-
Resolution: Fixed
-
Medium
Description
I want to install Python in an Ubuntu image because I need Rsync, since it isn't possible for a pipeline to write output files to a certain repository (Correct me if I am wrong). But I can't seem to run any commands with my ubuntu image.
I am using:
#!yml # This is a sample build configuration for Python. # Check our guides at https://confluence.atlassian.com/x/x4UWN for more examples. # Only use spaces to indent your .yml configuration. # ----- # You can specify a custom docker image from Docker Hub as your build environment. image: ubuntu:16.04 pipelines: tags: # add the 'tags' section RobotTest-**: # specify the tag - step: # define the build pipeline for the tag script: # Modify the commands below to build your repository. - RUN apt-get update && apt-get install -y sudo && rm -rf /var/lib/apt/lists/* - RUN add-apt-repository ppa:fkrull/deadsnakes - RUN apt-get install python2.7.9 - RUN pip install robotframework-selenium2library requests - RUN PYTHONPATH=$PYTHONPATH:. pybot -d RobotFramework/Results --variable BROWSER:chrome --variable VERSION:latest --variable PLATFORM:MAC RobotFramework/Tests/ExpressionEngine.robot
But it says "Command not found" no matter what I do
So I have tried:
RUN
Sudo
no prefix
But nothing works.
Anyone knows the solution?