Skip to content

Commit

Permalink
[Docker] switch to deb-archive since stretch moved
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-k-nylas committed Apr 27, 2023
1 parent 394a96a commit cdd08f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ LABEL maintainer="David Baumgold <[email protected]>"
COPY entrypoint.sh /entrypoint.sh

# Stretch has been moved to archive.debian.org: https://lists.debian.org/debian-devel-announce/2023/03/msg00006.html
RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list
RUN echo "deb http://archive.debian.org/debian-archive/debian/ stretch main" > /etc/apt/sources.list
RUN echo "deb http://archive.debian.org/debian-security/ stretch/updates main" >> /etc/apt/sources.list
RUN apt-get update

# Install the `dpkg-buildpackage` command
RUN apt-get install --yes build-essential debhelper devscripts
# Install the `curl` command
RUN apt-get install --yes --allow-downgrades libnettle6=3.3-1+b2 libhogweed4 libgnutls30 curl

# Install `dh-virtualenv` 1.2
RUN curl -o /tmp/dh-virtualenv.deb https://download.nylas.com/gha-deps/dh-virtualenv_1.2.1-1~stretch_all.deb
Expand Down
1 change: 0 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh
echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list
set -e
# Set the install command to be used by mk-build-deps (use --yes for non-interactive)
install_tool="apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes"
Expand Down

0 comments on commit cdd08f1

Please sign in to comment.