最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

docker - How do I download a specific version of DynamoDB Local? - Stack Overflow

programmeradmin0浏览0评论

I want to download a specific version of DynamoDB Local in a dockerfile so my build doesn't change without my knowledge.

I can download the latest version using this url:

.tar.gz

I expect to be able to download a specific version using something like

.5.3.tar.gz

I tried this as well as a few variations on this and they didn't work.

This seems like it should be an easily Google-able question, but I tried looking for a directory of download links or an archive or similar and didn't find it.

Can someone please help me find the correct link.

I want to download a specific version of DynamoDB Local in a dockerfile so my build doesn't change without my knowledge.

I can download the latest version using this url:

https://s3.us-west-2.amazonaws/dynamodb-local/dynamodb_local_latest.tar.gz

I expect to be able to download a specific version using something like

https://s3.us-west-2.amazonaws/dynamodb-local/dynamodb_local_2.5.3.tar.gz

I tried this as well as a few variations on this and they didn't work.

This seems like it should be an easily Google-able question, but I tried looking for a directory of download links or an archive or similar and didn't find it.

Can someone please help me find the correct link.

Share Improve this question asked Mar 3 at 14:18 Chris ParkerChris Parker 134 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Yeah, I get what you're trying to do—pin a specific version of DynamoDB Local so your builds don’t break unexpectedly. The problem is that AWS doesn’t provide direct download links for older versions, only the latest one.

A better way to lock in a version is to use Docker with a specific tag. Instead of downloading the .tar.gz file manually, try this in your Dockerfile:

FROM amazon/dynamodb-local:1.13.6

This way, you always get the same version. Simple and reliable!

发布评论

评论列表(0)

  1. 暂无评论