diff --git a/CHANGELOG b/CHANGELOG
index 3b2b3ff..89ee355 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -996,3 +996,7 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
* Update minio to 2021-06-17T00-10-46Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-06-17T00-10-46Z)
+[1.165.1]
+* Update minio to 2021-07-08T01-15-01Z
+* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-07-08T01-15-01Z)
+
diff --git a/CloudronManifest.json b/CloudronManifest.json
index 2e90d33..b4f5896 100644
--- a/CloudronManifest.json
+++ b/CloudronManifest.json
@@ -5,7 +5,7 @@
"description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG",
"tagline": "Distributed object storage",
- "version": "1.165.0",
+ "version": "1.165.1",
"healthCheckPath": "/minio/login",
"httpPort": 8000,
"addons": {
diff --git a/DESCRIPTION.md b/DESCRIPTION.md
index d166701..e2ff5b2 100644
--- a/DESCRIPTION.md
+++ b/DESCRIPTION.md
@@ -1,4 +1,4 @@
-This app packages Minio 2021-06-17T00-10-46Z.
+This app packages Minio 2021-07-08T01-15-01Z.
Minio is a distributed object storage server built for cloud applications and devops.
diff --git a/Dockerfile b/Dockerfile
index 71ab7c3..d79a82f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,13 +1,12 @@
FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92
-ARG VERSION=RELEASE.2021-06-17T00-10-46Z
-
-RUN mkdir -p /app/code \
- && wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio \
- && chmod +x /app/code/minio
-
+RUN mkdir -p /app/code
WORKDIR /app/code
+ARG VERSION=RELEASE.2021-07-08T01-15-01Z
+
+RUN wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio && chmod +x /app/code/minio
+
ADD start.sh /app/code/start.sh
ADD minio-credentials /app/code/minio-credentials