Skip to content

Commit

Permalink
feat: use dnf instead of yum package manager (#541)
Browse files Browse the repository at this point in the history
Similar to #472
  • Loading branch information
kaizencc authored Jan 25, 2024
1 parent 193965e commit 6981dbd
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": {
"8e18eb5caccd2617fb76e648fa6a35dc0ece98c4681942bc6861f41afdff6a1b": {
"b13aedf2e772939b6aa1c1207992c285bdd6a3b67dffa895c052652ea5f25be4": {
"source": {
"path": "asset.8e18eb5caccd2617fb76e648fa6a35dc0ece98c4681942bc6861f41afdff6a1b.zip",
"path": "asset.b13aedf2e772939b6aa1c1207992c285bdd6a3b67dffa895c052652ea5f25be4.zip",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "8e18eb5caccd2617fb76e648fa6a35dc0ece98c4681942bc6861f41afdff6a1b.zip",
"objectKey": "b13aedf2e772939b6aa1c1207992c285bdd6a3b67dffa895c052652ea5f25be4.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 @@
}
}
},
"17d6792cc2b9ebe5097b58ca5e612cea098f78a797db6c6484916c68269e37bb": {
"07d524b0f2dbd2e124d36975ee932597ffa4aec8b54c29353e5740bdfcdf0a8e": {
"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": "17d6792cc2b9ebe5097b58ca5e612cea098f78a797db6c6484916c68269e37bb.json",
"objectKey": "07d524b0f2dbd2e124d36975ee932597ffa4aec8b54c29353e5740bdfcdf0a8e.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": "8e18eb5caccd2617fb76e648fa6a35dc0ece98c4681942bc6861f41afdff6a1b.zip"
"S3Key": "b13aedf2e772939b6aa1c1207992c285bdd6a3b67dffa895c052652ea5f25be4.zip"
},
"Description": "/opt/kubectl/kubectl 1.27; /opt/helm/helm 3.12",
"LicenseInfo": "Apache-2.0"
Expand Down

0 comments on commit 6981dbd

Please sign in to comment.