Skip to content

Commit 463cb52

Browse files
committed
fix: 修复apt源未全覆盖问题
1 parent 002f393 commit 463cb52

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

16/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
66
ENV PATH=$PATH:/home/node/.npm-global/bin
77

88
USER root
9-
COPY --chown=root:root apt/bookworm.http /etc/apt/sources.list
9+
COPY --chown=root:root apt/bookworm.http /etc/apt/sources.list.d/debian.sources
1010
RUN apt-get update && apt-get install -y apt-transport-https ca-certificates
11-
COPY --chown=root:root apt/bookworm /etc/apt/sources.list
11+
COPY --chown=root:root apt/bookworm /etc/apt/sources.list.d/debian.sources
1212

1313
USER node
1414
RUN mkdir -p /home/node/node-cn

18/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
66
ENV PATH=$PATH:/home/node/.npm-global/bin
77

88
USER root
9-
COPY --chown=root:root apt/bookworm.http /etc/apt/sources.list
9+
COPY --chown=root:root apt/bookworm.http /etc/apt/sources.list.d/debian.sources
1010
RUN apt-get update && apt-get install -y apt-transport-https ca-certificates
11-
COPY --chown=root:root apt/bookworm /etc/apt/sources.list
11+
COPY --chown=root:root apt/bookworm /etc/apt/sources.list.d/debian.sources
1212

1313
USER node
1414
RUN mkdir -p /home/node/node-cn

20/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
66
ENV PATH=$PATH:/home/node/.npm-global/bin
77

88
USER root
9-
COPY --chown=root:root apt/bookworm.http /etc/apt/sources.list
9+
COPY --chown=root:root apt/bookworm.http /etc/apt/sources.list.d/debian.sources
1010
RUN apt-get update && apt-get install -y apt-transport-https ca-certificates
11-
COPY --chown=root:root apt/bookworm /etc/apt/sources.list
11+
COPY --chown=root:root apt/bookworm /etc/apt/sources.list.d/debian.sources
1212

1313
USER node
1414
RUN mkdir -p /home/node/node-cn

0 commit comments

Comments
 (0)