You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, all! Hoping for some guidance on this. I've been trying to get my python app up and running inside a docker container & keep bumping into this error when trying to build the image: ERROR [6/9] RUN apt-get update && apt-get install -y bgpstream
What I've tried:
Several different variations of installing the bgpstream packages. I had a similar issue on my host machine (macOS, M2 chip), but was able to resolve it by exporting some variables as outlined in the docs.
I've tried starting from the caida/bgpstream:latest docker image instead, but ran into an issue regarding a key verification error. I felt less equipped to handle that.
Hoping for some ideas for further debugging.
Here's my Dockerfile:
`FROM ubuntu:20.04
-- Create a consistent working directory
WORKDIR /bgp-routing
--Necessary for the ubuntu version
RUN apt-get update && apt-get install -y software-properties-common
-- Install required packages to install bgpstream & other requirements.
RUN apt-get update && apt-get install -y
python3.9
curl
sudo
wget
python3-pip
Can you rerun the build using docker build --progress=plain --no-cache so any error messages can be seen clearly? The repository setup and package fetching commands look ok to me at first glance.
Hey, all! Hoping for some guidance on this. I've been trying to get my python app up and running inside a docker container & keep bumping into this error when trying to build the image: ERROR [6/9] RUN apt-get update && apt-get install -y bgpstream
What I've tried:
Several different variations of installing the bgpstream packages. I had a similar issue on my host machine (macOS, M2 chip), but was able to resolve it by exporting some variables as outlined in the docs.
I've tried starting from the caida/bgpstream:latest docker image instead, but ran into an issue regarding a key verification error. I felt less equipped to handle that.
Hoping for some ideas for further debugging.
Here's my Dockerfile:
`FROM ubuntu:20.04
-- Create a consistent working directory
WORKDIR /bgp-routing
--Necessary for the ubuntu version
RUN apt-get update && apt-get install -y software-properties-common
-- Install required packages to install bgpstream & other requirements.
RUN apt-get update && apt-get install -y
python3.9
curl
sudo
wget
python3-pip
-- one liner to install bgpstream reqs. Link here: https://bgpstream.caida.org/docs/install/pybgpstream
RUN curl -s https://pkg.caida.org/os/$(lsb_release -si|awk '{print tolower($0)}')/bootstrap.sh | bash
RUN apt-get update && apt-get install -y bgpstream
-- Copy requirements file
COPY requirements.txt .
-- Install requirements based off of venv
RUN pip3 install -r requirements.txt
-- Copy files in the app folder
COPY ./app ./app
-- Commands executed in order to start the program. -u command prints console statements to container logs.
CMD ["python3", "-u", "./app/main.py"]`
The text was updated successfully, but these errors were encountered: