Skip to content

Commit

Permalink
Updated dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-aravind committed Dec 27, 2024
1 parent a48457e commit fe611bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@ RUN apt-get update && apt-get install -y \
libxshmfence1 \
libgles2-mesa \
xvfb \
tzdata \
--no-install-recommends && \
curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add - && \
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list && \
apt-get update && apt-get install -y google-chrome-stable --no-install-recommends && \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/* && \
ln -fs /usr/share/zoneinfo/America/Toronto /etc/localtime && \
dpkg-reconfigure -f noninteractive tzdata

WORKDIR /usr/src/app

Expand Down
9 changes: 0 additions & 9 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,6 @@ runs:
- name: Check out the repository
uses: actions/checkout@v3

- name: Set Timezone
run: |
sudo apt-get update
sudo apt-get install -y tzdata
echo "America/Toronto" | sudo tee /etc/timezone
sudo ln -sf /usr/share/zoneinfo/America/Toronto /etc/localtime
sudo dpkg-reconfigure -f noninteractive tzdata
shell: bash

- name: Check mode requirements
run: |
if [[ "${{ inputs.mode }}" == "fetch" || "${{ inputs.mode }}" == "fetch-push" ]]; then
Expand Down

0 comments on commit fe611bc

Please sign in to comment.