-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* pin stretch image * update stretch repo * Update Dockerfile.test
- Loading branch information
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
FROM golang:1.17 | ||
FROM golang:1.17-stretch | ||
LABEL maintainer="[email protected]" | ||
|
||
#Update stretch repositories | ||
RUN sed -i -e 's/deb.debian.org/archive.debian.org/g' \ | ||
-e 's|security.debian.org|archive.debian.org/|g' \ | ||
-e '/stretch-updates/d' /etc/apt/sources.list | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y lsb-release | ||
RUN rm -rf /var/lib/apt/lists/* | ||
|