Skip to content

Commit fd3dc3e

Browse files
committed
Fix unsupported syntax in MCP containerfile again
Signed-off-by: Nikola Forró <[email protected]>
1 parent 9b33acb commit fd3dc3e

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

Containerfile.mcp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,7 @@ COPY files/Current-IT-Root-CAs.pem /etc/pki/ca-trust/source/anchors/
3535
RUN update-ca-trust
3636

3737
# Configure jump host for internal dist-git
38-
RUN cat > /etc/ssh/ssh_config.d/00-dist-git.conf <<EOF
39-
Host iad2
40-
Hostname bastion-iad2.corp.redhat.com
41-
GSSAPIAuthentication yes
42-
Host pkgs.devel.redhat.com
43-
ProxyJump iad2
44-
EOF
38+
COPY files/internal_dist-git_ssh.conf /etc/ssh/ssh_config.d/00-dist-git.conf
4539
# Set up internal dist-git and GitLab SSH host keys
4640
COPY files/internal_dist-git_host_keys /etc/ssh/ssh_known_hosts
4741
RUN ssh-keyscan bastion-iad2.corp.redhat.com gitlab.com >> /etc/ssh/ssh_known_hosts

files/internal_dist-git_ssh.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Host iad2
2+
Hostname bastion-iad2.corp.redhat.com
3+
GSSAPIAuthentication yes
4+
Host pkgs.devel.redhat.com
5+
ProxyJump iad2

0 commit comments

Comments
 (0)