Skip to content

Commit

Permalink
package debian-bookworm: Follow apt file format change (#39)
Browse files Browse the repository at this point in the history
fix #38
  • Loading branch information
kou committed Apr 1, 2023
1 parent 731a2b3 commit 9753511
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions package/apt/debian-bookworm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 Sutou Kouhei <kou@clear-code.com>
# Copyright 2022-2023 Sutou Kouhei <kou@clear-code.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -23,7 +23,11 @@ RUN \
echo 'APT::Install-Recommends "false";' > \
/etc/apt/apt.conf.d/disable-install-recommends

RUN sed -i'' -e 's/main$/main contrib non-free/g' /etc/apt/sources.list
RUN \
sed \
-i'' \
-e 's/main$/main contrib non-free/g' \
/etc/apt/sources.list.d/debian.sources

ENV \
RUSTUP_HOME=/usr/local/rust \
Expand Down

0 comments on commit 9753511

Please sign in to comment.