Skip to content

Commit

Permalink
Merge pull request #171 from jdi-testing/fix-linter-and-dockerfile
Browse files Browse the repository at this point in the history
fix linter and dockerfile
  • Loading branch information
Ekaterina-Zykova authored Nov 22, 2023
2 parents a705531 + 77cd974 commit 04bc433
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@ RUN apt-get update -y && \

RUN apt install -y curl wget mc gcc make

RUN apt-get update && \
apt-get install -y --no-install-recommends gnupg wget curl unzip && \
wget -q -O - 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-get update -y && \
apt-get install -y --no-install-recommends google-chrome-stable && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /var/cache/apt/* && \
CHROME_VERSION=$(google-chrome --product-version) && \
wget -q --continue -P /chromedriver "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/$CHROME_VERSION/linux64/chromedriver-linux64.zip" && \
unzip /chromedriver/chromedriver* -d /usr/local/bin/ && \
rm -rf /chromedriver \

ENV APP_HOME=/jdi-qasp-ml
WORKDIR ${APP_HOME}

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ clean:
.PHONY: lint
lint:
@echo "Linting ..."
@flake8 --exclude kombu-redis-priority .
@flake8 --exclude kombu-redis-priority, usr .

.PHONY: unittest
unittest: clean lint
Expand Down

0 comments on commit 04bc433

Please sign in to comment.