Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update credentials-fetcher docker file #4068

Merged
merged 1 commit into from
Dec 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions ecs-agent/daemonimages/credentialsfetcher/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,15 @@
# use minimal amazonlinux:2023 base for credentials-fetcher image
FROM public.ecr.aws/amazonlinux/amazonlinux:2023-minimal

RUN dnf install -y krb5-workstation jq unzip && mkdir /krb5 && chmod 755 /krb5
RUN dnf install -y krb5-workstation
RUN dnf install -y sssd
RUN dnf install -y realmd
saikiranakula-amzn marked this conversation as resolved.
Show resolved Hide resolved
RUN dnf install -y which
RUN dnf install -y credentials-fetcher

RUN mkdir -p /var/credentials-fetcher/krbdir
RUN mkdir -p /var/credentials-fetcher/logging
RUN mkdir -p /var/credentials-fetcher/socket

VOLUME ["/krb5","/etc/krb5.conf.d","/var/scratch"]
RUN mkdir -p /var/scratch

RUN cp /usr/sbin/krb5.conf /etc/krb5.conf

Expand Down