Skip to content

Commit

Permalink
feat: use dnf instead of yum package manager (#542)
Browse files Browse the repository at this point in the history
Similar to #472
  • Loading branch information
kaizencc authored Jan 25, 2024
1 parent bed1dc7 commit d0bf71e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions layer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ WORKDIR /tmp
# tools
#

RUN yum update -y \
&& yum install -y zip unzip wget tar gzip
RUN dnf update -y \
&& dnf install -y zip unzip wget tar gzip

#
# kubectl
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"version": "20.0.0",
"files": {
"2873922b2920bdb6f113a1deaf12a0572a881113a1d89d7b328db438adead07f": {
"90a45dcd5d165e02a5d7f8274612601e5a66bd34ee37df17f542fd00cb10b62b": {
"source": {
"path": "asset.2873922b2920bdb6f113a1deaf12a0572a881113a1d89d7b328db438adead07f.zip",
"path": "asset.90a45dcd5d165e02a5d7f8274612601e5a66bd34ee37df17f542fd00cb10b62b.zip",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "2873922b2920bdb6f113a1deaf12a0572a881113a1d89d7b328db438adead07f.zip",
"objectKey": "90a45dcd5d165e02a5d7f8274612601e5a66bd34ee37df17f542fd00cb10b62b.zip",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down Expand Up @@ -40,15 +40,15 @@
}
}
},
"0b69bec8c78e63abd08d634a0f862061ca7bdffb79e064ee777250c67bcdd9d0": {
"0594c498509694cfa1a8a462110a9f4655423a5a5af73935c6614817b3c9c4e9": {
"source": {
"path": "lambda-layer-kubectl-integ-stack.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "0b69bec8c78e63abd08d634a0f862061ca7bdffb79e064ee777250c67bcdd9d0.json",
"objectKey": "0594c498509694cfa1a8a462110a9f4655423a5a5af73935c6614817b3c9c4e9.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"S3Bucket": {
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"S3Key": "2873922b2920bdb6f113a1deaf12a0572a881113a1d89d7b328db438adead07f.zip"
"S3Key": "90a45dcd5d165e02a5d7f8274612601e5a66bd34ee37df17f542fd00cb10b62b.zip"
},
"Description": "/opt/kubectl/kubectl 1.26; /opt/helm/helm 3.11",
"LicenseInfo": "Apache-2.0"
Expand Down

0 comments on commit d0bf71e

Please sign in to comment.