Skip to content

Commit

Permalink
Merge pull request #4068 from aws/saikiranakula-amzn-patch-4
Browse files Browse the repository at this point in the history
update credentials-fetcher docker file
  • Loading branch information
saikiranakula-amzn authored Dec 21, 2023
2 parents 5815336 + fa11fe4 commit fef8e10
Showing 1 changed file with 2 additions and 4 deletions.
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
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

0 comments on commit fef8e10

Please sign in to comment.