File tree 1 file changed +31
-0
lines changed
ecs-agent/daemonimages/credentialsfetcher
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You may
4
+ # not use this file except in compliance with the License. A copy of the
5
+ # License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is distributed
10
+ # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11
+ # express or implied. See the License for the specific language governing
12
+ # permissions and limitations under the License.
13
+
14
+ # use minimal amazonlinux:2023 base for credentials-fetcher image
15
+ FROM public.ecr.aws/amazonlinux/amazonlinux:2023-minimal
16
+
17
+ RUN dnf install -y krb5-workstation jq unzip && mkdir /krb5 && chmod 755 /krb5
18
+ RUN dnf install -y sssd
19
+ RUN dnf install -y realmd
20
+ RUN dnf install -y which
21
+ RUN dnf install -y credentials-fetcher
22
+
23
+ RUN mkdir -p /var/credentials-fetcher/krbdir
24
+ RUN mkdir -p /var/credentials-fetcher/logging
25
+ RUN mkdir -p /var/credentials-fetcher/socket
26
+
27
+ VOLUME ["/krb5" ,"/etc/krb5.conf.d" ,"/var/scratch" ]
28
+
29
+ RUN cp /usr/sbin/krb5.conf /etc/krb5.conf
30
+
31
+ CMD ["/usr/sbin/credentials-fetcherd" ]
You can’t perform that action at this time.
0 commit comments