Skip to content

Commit

Permalink
Update credentials-fetcher Dockerfile
Browse files Browse the repository at this point in the history
Removing unwanted dependencies
  • Loading branch information
saikiranakula-amzn authored Dec 20, 2023
1 parent 5815336 commit fa11fe4
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 fa11fe4

Please sign in to comment.