Skip to content

Commit 6dca9ac

Browse files
authored
Merge pull request #4 from umihico/feature/reduce-code
style: reduce code
2 parents 8693437 + c810e8c commit 6dca9ac

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ RUN mkdir -p /opt/bin/ && \
99

1010
FROM public.ecr.aws/lambda/python:3.8
1111
RUN mkdir -p /opt/bin && pip install selenium
12-
COPY google-chrome.repo /etc/yum.repos.d/
13-
RUN yum install -y --enablerepo=google-chrome google-chrome-stable
12+
RUN yum install -y https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
1413
COPY --from=build /opt/bin/headless-chromium /opt/bin/
1514
COPY --from=build /opt/bin/chromedriver /opt/bin/
1615
COPY test.py ./

google-chrome.repo

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)