feat: add Fedresurs profiles and integrated structures sources
Some checks failed
Mostovik Backend CI/CD / Tests and lint (push) Failing after 6m35s
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Has been skipped
Mostovik Backend CI/CD / Deploy dev (push) Has been skipped
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been skipped
Some checks failed
Mostovik Backend CI/CD / Tests and lint (push) Failing after 6m35s
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Has been skipped
Mostovik Backend CI/CD / Deploy dev (push) Has been skipped
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been skipped
This commit is contained in:
@@ -139,12 +139,25 @@ RUN apt-get update \
|
||||
libpango-1.0-0 \
|
||||
libcairo2 \
|
||||
libatspi2.0-0 \
|
||||
unzip \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV PLAYWRIGHT_BROWSERS_PATH=/app/.playwright
|
||||
RUN python -m playwright install chromium \
|
||||
&& chown -R appuser:appgroup /app/.playwright
|
||||
|
||||
# Chrome for Testing publishes matching browser and driver archives for one
|
||||
# immutable version. Selenium uses only this pair, not a host browser/profile.
|
||||
ARG FEDRESURS_CHROME_VERSION=154.0.8037.57
|
||||
RUN mkdir -p /opt/chrome \
|
||||
&& curl -fSL "https://storage.googleapis.com/chrome-for-testing-public/${FEDRESURS_CHROME_VERSION}/linux64/chrome-linux64.zip" -o /tmp/chrome.zip \
|
||||
&& curl -fSL "https://storage.googleapis.com/chrome-for-testing-public/${FEDRESURS_CHROME_VERSION}/linux64/chromedriver-linux64.zip" -o /tmp/chromedriver.zip \
|
||||
&& unzip -q /tmp/chrome.zip -d /opt/chrome \
|
||||
&& unzip -q /tmp/chromedriver.zip -d /opt/chrome \
|
||||
&& chmod +x /opt/chrome/chrome-linux64/chrome /opt/chrome/chromedriver-linux64/chromedriver \
|
||||
&& rm /tmp/chrome.zip /tmp/chromedriver.zip \
|
||||
&& chown -R appuser:appgroup /opt/chrome
|
||||
|
||||
USER appuser
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user