logo
docker.io/lincenying/api-bun-postgre:1.26.0930
linux/amd64 docker.io lincenying 贡献

该Docker镜像包含基于Bun JavaScript运行时构建的API服务,集成了PostgreSQL数据库,适用于快速部署具备数据库支持的API应用场景。

14
浏览次数
253.47MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0930
源镜像
docker.io/lincenying/api-bun-postgre:1.26.0930
镜像ID
sha256:e173c1297a2d8fe5a64c7ffd9bccfbd70bf8be8142dc56b86af742ce518b4279
镜像 TAG
1.26.0930
镜像大小
253.47MB
平台架构
linux/amd64
镜像源
docker.io
CMD
./entrypoint-api.sh
启动入口
工作目录
/app
OS/平台
linux/amd64
镜像创建
2026-09-30T09:53:48.1529097Z
同步时间
2026-09-30 17:58
浏览量
14 次
贡献者
avatar lincenying
🔌 开放端口 1
4000/tcp
⚙️ 环境变量 2
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
NODE_ENV=production 1
🏷️ 镜像标签 3
KeyValue
mmf-blog-api-elysia-postgre com.docker.compose.project
api_bun_postgre com.docker.compose.service
5.4.0 com.docker.compose.version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0930
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0930  docker.io/lincenying/api-bun-postgre:1.26.0930

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0930
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0930  docker.io/lincenying/api-bun-postgre:1.26.0930

Shell快速替换命令

sed -i 's#lincenying/api-bun-postgre:1.26.0930#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0930#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0930 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0930  docker.io/lincenying/api-bun-postgre:1.26.0930'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0930 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0930  docker.io/lincenying/api-bun-postgre:1.26.0930'

镜像构建历史


# 2026-09-30 17:53:48  0.00B 设置默认要执行的命令
CMD ["./entrypoint-api.sh"]
                        
# 2026-09-30 17:53:48  0.00B 声明容器运行时监听的端口
EXPOSE [4000/tcp]
                        
# 2026-09-30 17:53:48  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c chmod +x ./entrypoint-api.sh ./server ./migrate # buildkit
                        
# 2026-09-30 17:53:47  144.00B 复制新文件或目录到容器中
COPY ./entrypoint-api.sh ./entrypoint-api.sh # buildkit
                        
# 2026-09-30 17:53:47  0.00B 设置环境变量 NODE_ENV
ENV NODE_ENV=production
                        
# 2026-09-30 17:53:47  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p uploads .data # buildkit
                        
# 2026-09-30 17:53:47  1.34KB 复制新文件或目录到容器中
COPY ./dist/index.html ./dist/index.html # buildkit
                        
# 2026-09-30 17:53:47  48.00B 复制新文件或目录到容器中
COPY .env.production ./.env.production # buildkit
                        
# 2026-09-30 17:53:47  65.00B 复制新文件或目录到容器中
COPY .env ./.env # buildkit
                        
# 2026-09-30 17:53:47  769.93KB 复制新文件或目录到容器中
COPY ./public ./public # buildkit
                        
# 2026-09-30 17:53:47  11.49KB 复制新文件或目录到容器中
COPY ./views ./views # buildkit
                        
# 2026-09-30 17:53:47  6.02KB 复制新文件或目录到容器中
COPY ./config ./config # buildkit
                        
# 2026-09-30 17:53:47  36.67KB 复制新文件或目录到容器中
COPY ./drizzle-postgre ./drizzle-postgre # buildkit
                        
# 2026-09-30 17:53:46  82.99MB 复制新文件或目录到容器中
COPY /app/migrate migrate # buildkit
                        
# 2026-09-30 17:53:46  85.56MB 复制新文件或目录到容器中
COPY /app/server server # buildkit
                        
# 2026-09-30 17:43:10  9.26MB 执行命令并创建新的镜像层
RUN /bin/sh -c sed -i 's|deb.debian.org|mirrors.tuna.tsinghua.edu.cn|g' /etc/apt/sources.list.d/debian.sources 	&& apt-get update 	&& apt-get install -y --no-install-recommends ca-certificates 	&& rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2026-09-30 17:03:03  0.00B 设置工作目录为/app
WORKDIR /app
                        
# 2026-08-24 08:00:00  74.83MB 
# debian.sh --arch 'amd64' out/ 'bookworm' '@1787529600'
                        
                    

镜像信息

{
    "Id": "sha256:e173c1297a2d8fe5a64c7ffd9bccfbd70bf8be8142dc56b86af742ce518b4279",
    "RepoTags": [
        "lincenying/api-bun-postgre:1.26.0930",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0930"
    ],
    "RepoDigests": [
        "lincenying/api-bun-postgre@sha256:542ca76cbdd4821464fcc1417c8fc1668a1a629e3b573144042ae173acabd362",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre@sha256:cfd29dafcc8aa1700aa5ee56d1b22e685199bfacdac4a35f5480b57585335f14"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-09-30T09:53:48.1529097Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "4000/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "NODE_ENV=production"
        ],
        "Cmd": [
            "./entrypoint-api.sh"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/app",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "com.docker.compose.project": "mmf-blog-api-elysia-postgre",
            "com.docker.compose.service": "api_bun_postgre",
            "com.docker.compose.version": "5.4.0"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 253465270,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/fa05697d5ae86146793627fa70f0374e1efc3d351fc201b68f39ed272d5d6b71/diff:/var/lib/docker/overlay2/6b9608a75f0f3d42b0db8f6a8db053fbc784b24d30fbbc3633821015731e5c25/diff:/var/lib/docker/overlay2/7050e249b2adca6a143c8236beb8f6122620ff0b686f4b34d1f14096376c853e/diff:/var/lib/docker/overlay2/57ed1296096e1d04d47a2e23c67d4b7ef55bd9b66d1aa1409d48062d4d8318c8/diff:/var/lib/docker/overlay2/dfde30ab7108841f33ae12d327e5caa6a00578be95bfe40f3db6b1cacdfa43b4/diff:/var/lib/docker/overlay2/0df2950827d4f8b4b30e43b325182399d3c17a9b92768f8afeccf7d5d416078d/diff:/var/lib/docker/overlay2/00546d590aa05f980e418faba944384d26cfa13765e135f2f5d0b6952530560a/diff:/var/lib/docker/overlay2/d6b1bb7ff2c16c21db77d2ee619b91089a1c4ba8bfad67f353ed96433c46f439/diff:/var/lib/docker/overlay2/87ba46fc59b5008668dac969e8964f09521ea43a79fdbd6a21d67346e0651214/diff:/var/lib/docker/overlay2/9e4d542b68be711585d8fe13ac01025193baea580877b91ea1ac60d9ad87c032/diff:/var/lib/docker/overlay2/d235ee2202df27ae9dcb77f4b3664d1730a349da9a3bd7f9136de29c55861c6f/diff:/var/lib/docker/overlay2/74f37fbca5843584af98dd810a1fe222faea65dc5283e4c1fdc10d9ec7dffdb3/diff:/var/lib/docker/overlay2/6fbc93332e9ecb0bc38a21052758a5872788ad74935fe617013ad7075a60a19f/diff:/var/lib/docker/overlay2/f2f5bf2c9425777bea8386589109d1dc4df0eccd511c3c262992c56fc773bd8f/diff",
            "MergedDir": "/var/lib/docker/overlay2/fa07a95152c78a5bcda9671b4269e993a464e04acef4552dfa0521118892ee05/merged",
            "UpperDir": "/var/lib/docker/overlay2/fa07a95152c78a5bcda9671b4269e993a464e04acef4552dfa0521118892ee05/diff",
            "WorkDir": "/var/lib/docker/overlay2/fa07a95152c78a5bcda9671b4269e993a464e04acef4552dfa0521118892ee05/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:1d69a5fd31932841d7825ef4780c06f008eea65aaa9f3110fe09d5832ed5c7d8",
            "sha256:f6b335269729fe8b28d4d6c058fc24802d9aab542d30294e42b4757b53a9c2d8",
            "sha256:e99dc67653bf204e56de764c64268aaf6795c0c24bf05ef5fcc977bb3812b6c7",
            "sha256:63798e8e74441f65f83a5ae74848cd483aa074f6cb963f717a1b477f3377ba9a",
            "sha256:573ca604ea5b9ab8a6a061d670fc4f04470b5b4433cec5e526a364c3ccc8c765",
            "sha256:4689910329d4359cbdaa8ff0d4a93d9b939af5c072685d26c16cf0224ca7c47f",
            "sha256:6a77e6dbc2e16cc0530f5ba9b2d46efd607d53c7669b5bef6d9b1557db798dc2",
            "sha256:b55ecdf3518586cd4137ffc08563411eddac65605a02d7d724398916f9c7de89",
            "sha256:3aacff6efcf10c293abea693a6d7b5a38f7eebc914fa5837f7db1b815b158626",
            "sha256:44ff2ff5e3415cec68a694134b675c85bb0dad35d1df41e96678fabdb3d5ac2c",
            "sha256:0a94d55a421d25efc0902126185a87707fe32101c4296d0a094cfd7c095e37bb",
            "sha256:48679e2aa5a4d15f4b631be2d78fb15faa5c7f1490705d086197e4d557c1cd6e",
            "sha256:45dd57a378f1917b62fc01112172b7c85241d2651407a7ffb46ecb2d8527a410",
            "sha256:b659d3bd81ee50cc041adabb6ab18fbacef52337d7af275c9c1f3235b3e2ec58",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-09-30T17:58:08.291129794+08:00"
    }
}

更多版本

docker.io/lincenying/api-bun-postgre:1.26.0727

linux/amd64 docker.io285.15MB2026-07-27 17:06
98

docker.io/lincenying/api-bun-postgre:1.26.0728

linux/amd64 docker.io285.15MB2026-07-28 09:26
92

docker.io/lincenying/api-bun-postgre:1.26.0729

linux/amd64 docker.io285.15MB2026-07-28 21:24
101

docker.io/lincenying/api-bun-postgre:1.26.0731

linux/amd64 docker.io285.20MB2026-07-31 17:34
97

docker.io/lincenying/api-bun-postgre:1.26.0803

linux/amd64 docker.io285.20MB2026-08-03 10:56
96

docker.io/lincenying/api-bun-postgre:1.26.0804

linux/amd64 docker.io285.21MB2026-08-03 17:58
94

docker.io/lincenying/api-bun-postgre:1.26.0930

linux/amd64 docker.io253.47MB2026-09-30 17:58
13
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×