Skip to content

Commit

Permalink
call apt-get update before adding ppa
Browse files Browse the repository at this point in the history
  • Loading branch information
bjrmatos committed Dec 1, 2022
1 parent 2add855 commit 7642459
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ FROM jsreport/worker:3.5.0
USER root

# phantomjs and electron
RUN add-apt-repository ppa:litenstein/libicu60-xenial && \
RUN apt-get update && \
add-apt-repository ppa:litenstein/libicu60-xenial && \
apt-get update && \
apt-get install -y libgtk2.0-dev libpango1.0-dev libharfbuzz-dev libharfbuzz-icu0 libicu60 && \
apt-get install -y bzip2 libxtst-dev libxss1 libgconf2-dev libnss3-dev libasound2-dev libnotify4 libxrender1 libxext6 xvfb dbus-x11 && \
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ FROM jsreport/worker:local
USER root

# phantomjs and electron
RUN add-apt-repository ppa:litenstein/libicu60-xenial && \
RUN apt-get update && \
add-apt-repository ppa:litenstein/libicu60-xenial && \
apt-get update && \
apt-get install -y libgtk2.0-dev libpango1.0-dev libharfbuzz-dev libharfbuzz-icu0 libicu60 && \
apt-get install -y bzip2 libxtst-dev libxss1 libgconf2-dev libnss3-dev libasound2-dev libnotify4 libxrender1 libxext6 xvfb dbus-x11 && \
Expand Down

0 comments on commit 7642459

Please sign in to comment.