Skip to content

Commit

Permalink
Merge pull request #42 from farribeiro/hotfix/warsaw-deb
Browse files Browse the repository at this point in the history
Fix warsaw deb package
  • Loading branch information
farribeiro authored Jun 12, 2018
2 parents bbef8d0 + cbbfe8a commit 1ef2e60
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
FROM ubuntu:latest
LABEL maintainer "Fabio Rodrigues Ribeiro <[email protected]>"

ADD https://cloud.gastecnologia.com.br/cef/warsaw/install/GBPCEFwr64.deb /src/
ADD https://cloud.gastecnologia.com.br/gas/diagnostico/warsaw-setup-ubuntu_64.deb /src/warsaw.deb
COPY startup.sh /home/ff/

# Install Firefox
Expand Down Expand Up @@ -46,6 +46,11 @@ RUN apt-get update \
&& echo 'ff ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers \
&& echo 'Defaults !requiretty' >> /etc/sudoers \
&& echo root:wscef | chpasswd \
&& dpkg-deb -R /src/warsaw.deb /src/warsaw \
&& sed -i 's/python-gpgme/python-gpg/g' /src/warsaw/DEBIAN/control \
&& sed -i 's/libcurl3/libcurl4/g' /src/warsaw/DEBIAN/control \
&& sed -i 's/gpgme/gpg/g' /src/warsaw/usr/bin/warsaw \
&& dpkg-deb -b /src/warsaw /src/GBPCEFwr64.deb \
&& apt-get purge --auto-remove -y \
&& rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit 1ef2e60

Please sign in to comment.