Open Damji7 opened 1 month ago
Hi. Just to clarify, are you trying to build the CLI using the 'Build with Docker' instructions in our readme and it is failing?
Yes it is, i installed all the deps that windscribe needs(based on your docker file), and then i download the .dep file , and tried to install it inside docker it crash, and i tried the second time i followed the instructions from the github it crashs again, i didn't understand it, am i wrong in the deps or it is from the app it self, so if can provide me with the correct details or with docker file it'll be great.
Thanks and regards 🙏
Envoyé à partir de Outlook pour Androidhttps://aka.ms/AAb9ysg
From: Jonathan Martin @.> Sent: Monday, October 14, 2024 5:15:32 PM To: Windscribe/Desktop-App @.> Cc: Damji7 @.>; Author @.> Subject: Re: [Windscribe/Desktop-App] [Not Bug] Want To Install Windscribe cli for docker container (Issue #184)
Hi. Just to clarify, are you trying to build the CLI using the 'Build with Docker' instructions in our readme and it is failing?
— Reply to this email directly, view it on GitHubhttps://github.com/Windscribe/Desktop-App/issues/184#issuecomment-2411701772, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7FOZECS7HZ3C6PNWPQ6NLLZ3PU2JAVCNFSM6AAAAABP2UWXFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJRG4YDCNZXGI. You are receiving this because you authored the thread.Message ID: @.***>
There are 4 steps in the Build with Docker
section of the readme. Please perform only those 4 steps and let us know which step you encounter the issue on, including the error output. Thanks!
Well Thats Whats In My Docker File
COPY ./tools/requirements.txt /r/ ENV PATH=/opt/cmake/bin:$PATH ENV DEBIAN_FRONTEND=noninteractive RUN apt update && apt install -y build-essential cmake git curl patchelf libpam0g-dev software-properties-common libgl1-mesa-dev fakeroot python3-pip zip unzip libnl-genl-3-dev pkg-config libcap-ng-dev wget autoconf libtool libfontconfig1-dev libfreetype6-dev libx11-dev libx11-xcb-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libxcb1-dev libxcb-cursor-dev libxcb-glx0-dev libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-dev libxcb-util-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev libwayland-dev RUN python3 -m pip install -r /r/requirements.txt
RUN wget https://go.dev/dl/go1.22.5.linux-amd64.tar.gz && rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.5.linux-amd64.tar.gz RUN ln -sf /usr/local/go/bin/go /usr/local/bin/go
RUN wget https://cmake.org/files/v3.29/cmake-3.29.6-linux-x86_64.sh && mkdir -p /opt/cmake && yes | sh cmake-3.29.6-linux-x86_64.sh --prefix=/opt/cmake RUN ln -sf /opt/cmake/cmake-3.29.6-linux-x86_64/bin/cmake /usr/bin/cmake
WORKDIR /windscribe
RUN apt-get update && \ wget https://github.com/Windscribe/Desktop-App/releases/download/v2.11.11/windscribe-cli_2.11.11_amd64.deb && \ apt-get install -y ./windscribe-cli_2.11.11_amd64.deb && \ rm ./windscribe-cli_2.11.11_amd64.deb
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
Do I need To download Both Gui And CLi , or just cli , in my case i need the cli only.
Am i correct or i need to add things ?
De : Jonathan Martin @.> Envoyé : mardi 15 octobre 2024 17:46 À : Windscribe/Desktop-App @.> Cc : Damji7 @.>; Author @.> Objet : Re: [Windscribe/Desktop-App] [Not Bug] Want To Install Windscribe cli for docker container (Issue #184)
There are 4 steps in the Build with Docker section of the readme. Please perform only those 4 steps and let us know which step you encounter the issue on, including the error output. Thanks!
— Reply to this email directly, view it on GitHubhttps://github.com/Windscribe/Desktop-App/issues/184#issuecomment-2414523294, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7FOZEF4ZO7EFIIXXK4UTC3Z3VBH5AVCNFSM6AAAAABP2UWXFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJUGUZDGMRZGQ. You are receiving this because you authored the thread.Message ID: @.***>
Update:
I attach you the docker file and the error am getting, i've tried all the things without results, if you can modifie the Windscribe section in docker file and send it back you will save me a lot of time.
De : Jonathan Martin @.> Envoyé : mardi 15 octobre 2024 17:46 À : Windscribe/Desktop-App @.> Cc : Damji7 @.>; Author @.> Objet : Re: [Windscribe/Desktop-App] [Not Bug] Want To Install Windscribe cli for docker container (Issue #184)
There are 4 steps in the Build with Docker section of the readme. Please perform only those 4 steps and let us know which step you encounter the issue on, including the error output. Thanks!
— Reply to this email directly, view it on GitHubhttps://github.com/Windscribe/Desktop-App/issues/184#issuecomment-2414523294, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7FOZEF4ZO7EFIIXXK4UTC3Z3VBH5AVCNFSM6AAAAABP2UWXFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJUGUZDGMRZGQ. You are receiving this because you authored the thread.Message ID: @.***>
FROM ubuntu:22.04
SHELL ["/bin/bash", "-o", "pipefail", "-c"] ENV PYTHONUNBUFFERED=1 ENV PYTHONIOENCODING=UTF-8
RUN apt-get update && \ apt-get install -y --no-install-recommends tzdata locales && \ sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen && \ ln -snf /usr/share/zoneinfo/America/New_York /etc/localtime && \ echo "America/New_York" > /etc/timezone && \ echo "LANG=en_US.UTF-8" > /etc/locale.conf && \ locale-gen en_US.UTF-8
RUN apt-get update && \ apt-get install -y \ fonts-liberation \ fonts-liberation2 \ fonts-font-awesome \ fonts-ubuntu \ fonts-terminus \ fonts-powerline \ fonts-open-sans \ fonts-mononoki \ fonts-roboto \ fonts-lato
RUN apt-get update && \ apt-get install -y \ libasound2 \ libatk-bridge2.0-0 \ libatk1.0-0 \ libatspi2.0-0 \ libcups2 \ libdbus-1-3 \ libdrm2 \ libgbm1 \ libgtk-3-0 \ libnspr4 \ libnss3 \ libu2f-udev \ libvulkan1 \ libwayland-client0 \ libxcomposite1 \ libxdamage1 \ libxfixes3 \ libxkbcommon0 \ libxrandr2
RUN apt-get update && \ apt-get install -y xdg-utils ca-certificates
RUN apt-get update && \ apt-get install -y --no-install-recommends \ curl \ sudo \ unzip \ vim \ wget \ xvfb
RUN apt-get update && \ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \ apt-get install -y ./google-chrome-stable_current_amd64.deb && \ rm ./google-chrome-stable_current_amd64.deb
RUN apt-get update && \ apt-get install -y python3 python3-pip python3-setuptools python3-dev python3-tk && \ apt-get -qy --no-install-recommends install python3.10 && \ rm /usr/bin/python3 && \ ln -s python3.10 /usr/bin/python3
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
COPY SeleniumBase/sbase SeleniumBase/sbase/ COPY SeleniumBase/seleniumbase SeleniumBase/seleniumbase/ COPY SeleniumBase/examples SeleniumBase/examples/ COPY SeleniumBase/integrations SeleniumBase/integrations/ COPY SeleniumBase/requirements.txt SeleniumBase/requirements.txt COPY SeleniumBase/setup.py SeleniumBase/setup.py COPY SeleniumBase/MANIFEST.in SeleniumBase/MANIFEST.in COPY SeleniumBase/pytest.ini SeleniumBase/pytest.ini COPY SeleniumBase/setup.cfg SeleniumBase/setup.cfg COPY SeleniumBase/virtualenv_install.sh SeleniumBase/virtualenv_install.sh
RUN find . -name '*.pyc' -delete && \ pip install --upgrade pip setuptools wheel && \ cd /SeleniumBase && pip install -r requirements.txt --upgrade && \ cd /SeleniumBase && pip install . && \ pip install pyautogui
RUN seleniumbase get chromedriver --path
COPY script/autriche.py /app/autriche.py COPY script/vpn.py /app/vpn.py COPY script/telegrambot.py /app/telegrambot.py COPY script/config.ini /app/config.ini COPY script/requirements.txt /app/requirements.txt
WORKDIR /app RUN pip install -r requirements.txt RUN pip install --upgrade seleniumbase
COPY Desktop-App/tools/requirements.txt /windscribe/requirements.txt
ENV PATH=/opt/cmake/bin:$PATH ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && \ apt install -y build-essential git curl patchelf libpam0g-dev software-properties-common libgl1-mesa-dev fakeroot python3-pip zip unzip libnl-genl-3-dev pkg-config libcap-ng-dev wget autoconf libtool libfontconfig1-dev libfreetype6-dev libx11-dev libx11-xcb-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libxcb1-dev libxcb-cursor-dev libxcb-glx0-dev libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-dev libxcb-util-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev libwayland-dev cmake # Add 'cmake' to install from package manager
RUN python3 -m pip install -r /windscribe/requirements.txt
RUN wget https://go.dev/dl/go1.22.5.linux-amd64.tar.gz && rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.5.linux-amd64.tar.gz RUN ln -sf /usr/local/go/bin/go /usr/local/bin/go
RUN apt-get update && \ apt-get install -y wget && \ wget https://github.com/Windscribe/Desktop-App/releases/download/v2.11.11/windscribe-cli_2.11.11_amd64.deb && \ apt-get install -y --no-install-recommends ./windscribe-cli_2.11.11_amd64.deb && \ rm ./windscribe-cli_2.11.11_amd64.deb
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
COPY entrypoint.sh /app/entrypoint.sh RUN chmod +x /app/entrypoint.shape
ERROR: failed to solve: process "/bin/bash -o pipefail -c apt-get update && apt-get install -y wget && wget https://github.com/Windscribe/Desktop-App/releases/download/v2.11.11/windscribe-cli_2.11.11_amd64.deb && apt-get install -y --no-install-recommends ./windscribe-cli_2.11.11_amd64.deb && rm ./windscribe-cli_2.11.11_amd64.deb" did not complete successfully: exit code: 100
You don't need any of those dependencies -- the dependencies are for building the package. You are just installing the package, and it the package manager should pull in all the correct dependencies automatically.
I don't know what error you are running into though -- you have not provided any indication of what the output is when you try to run it.
Hello,
Am Trying To intall the windscribe cli ubuntu/debian inside a docker container, but everytime i install the deps and then when it starts building the app , it crashs, Can You Guide Correctly How To Install it.
Ps: Reply Directly With the Docker File Set Up
Thanks And Regards.