dwadden / dygiepp

Span-based system for named entity, relation, and event extraction.
MIT License
569 stars 120 forks source link

Fixing Dockerfile for NVIDIA GPG keys #126

Closed suneeta-mall closed 2 months ago

suneeta-mall commented 2 months ago

This PR fixes a few issues with dockerfile:

  1. NVIDIA GPG keys have been rotated since the base image build. Without this fixes, the container build fails. This PR fixes the build by using latest key as per https://developer.nvidia.com/blog/updating-the-cuda-linux-gpg-repository-key/.

Without this PR, the docker build sees following failure:

31.36 Reading package lists...
32.71 W: GPG error: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
32.71 E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease' is not signed.
------
ERROR: failed to solve: executor failed running [/bin/sh -c apt-get update &&     apt-get -y install gcc make sqlite3]: exit code: 100
(
  1. scispacy versions are pinned to match the version used in repo. This is also the version usable by the model downloaded en_core_sci_sm-0.2.5
  2. Fixes the s2 mechanics model download URL to pin to right version
  3. Includes dygiepp app for python runtime deps