Skip to content

Fixes Docker build error for the action

Latest
Compare
Choose a tag to compare
@olivia-sysdig olivia-sysdig released this 07 Aug 23:37
5c7f990

Fixes an error seen by builds using this action:

   #8 [builder 4/4] RUN pip install --target=/app -r requirements.txt &&     apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y tar curl gnupg2 &&     rm -rf /var/lib/apt/lists/* &&     curl -LO https://github.com/kovetskiy/mark/releases/download/9.12.0/mark_Linux_x86_64.tar.gz &&     tar -xvzf mark_Linux_x86_64.tar.gz && chmod +x mark && mv mark /usr/local/bin/mark     && curl -L https://dl-ssl.google.com/linux/linux_signing_key.pub |apt-key add -     && echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list     && apt update && apt-get install -y google-chrome-stable
  #8 1.583 ERROR: Invalid requirement: 'Jinja2 >= "3.0.3"': Expected end or semicolon (after name and no valid version specifier)
  #8 1.583     Jinja2 >= "3.0.3"
  #8 1.583            ^ (from line 1 of requirements.txt)

Python pip changed the version specification requirements, so you need to update to v0.2.4 if you see this error.