Skip to content

Commit df6aa90

Browse files
committed
fix: correct newlin issue
1 parent 328d86c commit df6aa90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dockerfiles/Dockerfile.jammy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ RUN wget --quiet -O /etc/apt/keyrings/salt-archive-keyring-2024.pgp https://pack
5252
RUN echo "deb [signed-by=/etc/apt/keyrings/salt-archive-keyring-2024.pgp arch=$(dpkg --print-architecture)] https://packages.broadcom.com/artifactory/saltproject-deb/ stable main" > /etc/apt/sources.list.d/salt.list
5353

5454
# Pin to Salt 3006 LTS
55-
RUN echo -e "Package: salt-*\nPin: version 3006.*\nPin-Priority: 1001" > /etc/apt/preferences.d/salt-pin-1001
55+
RUN printf "Package: salt-*\nPin: version 3006.*\nPin-Priority: 1001\n" > /etc/apt/preferences.d/salt-pin-1001
5656

5757
RUN apt-get update -y && apt-get install -y --no-install-recommends salt-minion
5858

dockerfiles/Dockerfile.noble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ RUN wget --quiet -O /etc/apt/keyrings/salt-archive-keyring-2024.pgp https://pack
5252
RUN echo "deb [signed-by=/etc/apt/keyrings/salt-archive-keyring-2024.pgp arch=$(dpkg --print-architecture)] https://packages.broadcom.com/artifactory/saltproject-deb/ stable main" > /etc/apt/sources.list.d/salt.list
5353

5454
# Pin to Salt 3006 LTS
55-
RUN echo -e "Package: salt-*\nPin: version 3006.*\nPin-Priority: 1001" > /etc/apt/preferences.d/salt-pin-1001
55+
RUN printf "Package: salt-*\nPin: version 3006.*\nPin-Priority: 1001\n" > /etc/apt/preferences.d/salt-pin-1001
5656

5757

5858
# Start Systemd (systemctl)

0 commit comments

Comments
 (0)