I am trying to set up Scrapy docker env on my local by running this command
docker build -t scrapy .
I am getting below error
Get:20 http://archive.ubuntu.com/ubuntu precise Release [49.6 kB] Get:21 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [2975 B] Get:22 http://archive.ubuntu.com/ubuntu precise Release.gpg [198 B] Ign:22 http://archive.ubuntu.com/ubuntu precise Release.gpg Reading package lists...
W: GPG error: http://archive.ubuntu.com/ubuntu precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 E: The repository 'http://archive.ubuntu.com/ubuntu precise Release' is not signed. The command '/bin/sh -c apt-get update' returned a non-zero code: 100
My Docker file looks like this
############################################################
# Dockerfile for a Scrapy development environment
# Based on Ubuntu Image
############################################################
FROM ubuntu
MAINTAINER NeuralFoundry <neuralfoundry.com>
RUN echo deb http://archive.ubuntu.com/ubuntu precise universe >> /etc/apt/sources.list
RUN apt-get update
## Python Family
RUN apt-get install -qy python python-dev python-distribute python-pip ipython
## Selenium
RUN apt-get install -qy firefox xvfb
RUN pip install selenium pyvirtualdisplay
## AWS Python SDK
RUN pip install boto3
## Scraping
RUN pip install beautifulsoup4 requests
RUN apt-get install -qy libffi-dev libxml2-dev libxslt-dev lib32z1-dev libssl-dev
## Scrapy
RUN pip install lxml scrapy scrapyjs
Any help would be appreciated. TIA