Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #356 from itsthejb/remove-apt-sources
Browse files Browse the repository at this point in the history
Remove sources.list
  • Loading branch information
itsthejb authored Feb 8, 2024
2 parents f90c4c9 + f738c5c commit c19aa68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,13 @@ ENV POSTGREY_MAX_AGE=35
ENV POSTGREY_TEXT="Delayed by postgrey"

# --- prep
COPY ./build/etc/apt/sources.list /etc/apt/sources.list
SHELL ["/bin/bash", "-Eeuo", "pipefail", "-c"]
# hadolint ignore=SC1091
RUN . /etc/os-release && \
touch /etc/apt/sources.list && \
echo "deb-src http://deb.debian.org/debian $VERSION_CODENAME main non-free-firmware" >> /etc/apt/sources.list && \
echo "deb-src http://deb.debian.org/debian $VERSION_CODENAME-updates main non-free-firmware" >> /etc/apt/sources.list && \
echo "deb-src http://deb.debian.org/debian-security/ $VERSION_CODENAME-security main non-free-firmware" >> /etc/apt/sources.list

# --- set timezone and locale
ENV LANG "${BUILD_LOCALE}.UTF-8"
Expand Down
8 changes: 0 additions & 8 deletions build/etc/apt/sources.list

This file was deleted.

0 comments on commit c19aa68

Please sign in to comment.