Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to buster and python 3 #72

Merged
merged 3 commits into from
Jan 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
HOSTNAME=Enterprise
XAUTHORITY=~/.Xauthority
BANKFILES=~/Investimentos
31 changes: 16 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Run Warsaw in a container

# Base docker image
FROM debian:stretch-slim
FROM debian:buster-slim
LABEL maintainer "Fabio Rodrigues Ribeiro <farribeiro@gmail.com>"

ENV USER=ff
Expand All @@ -18,27 +18,28 @@ RUN apt-get update && \
wget \
firefox-esr \
firefox-esr-l10n-pt-br \
libc6 \
# libc6 \
# libcurl4 \
libdbus-1-3 \
libgcc1 \
libgdk-pixbuf2.0-0 \
libglib2.0-0 \
libgtk2.0-0 \
# libdbus-1-3 \
# libgcc1 \
# libgdk-pixbuf2.0-0 \
# libglib2.0-0 \
# libgtk2.0-0 \
libnss3-tools \
libpango-1.0-0 \
libpython2.7-minimal \
libpython2.7-stdlib \
# libpango-1.0-0 \
# libpython2.7-minimal \
# libpython2.7-stdlib \
# libssl1.0.0 \
libstdc++6 \
libx11-6 \
libxi6 \
# libstdc++6 \
# libx11-6 \
# libxi6 \
openssl \
procps \
python-gpg \
python-openssl \
python2.7 \
sed \
# python2.7 \
python3 \
# sed \
sudo \
xauth \
zenity \
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ services:
- /dev/shm:/dev/shm
- /tmp/.X11-unix:/tmp/.X11-unix
- ${XAUTHORITY}:/tmp/.docker.xauth:ro
- ~/BankFiles:/home/ff/Downloads
- ${BANKFILES}:/home/ff/Downloads
- /etc/machine-id:/etc/machine-id:ro
5 changes: 3 additions & 2 deletions startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ then
&& sudo apt update \
&& sudo apt -y upgrade \
&& sudo apt -y install /src/GBPCEFwr64.deb
else
sudo /etc/init.d/warsaw start
#else
# sudo /etc/init.d/warsaw start
fi
sudo /etc/init.d/warsaw start

/usr/local/bin/warsaw/core \
&& firefox -no-remote -private-window --class CaixaEconomica --name CaixaEconomica https://www.caixa.gov.br
farribeiro marked this conversation as resolved.
Show resolved Hide resolved