Skip to content

Commit a2a53d2

Browse files
committed
1.41.7 release info
Signed-off-by: Kyle Quest <kcq.public@gmail.com>
1 parent b954424 commit a2a53d2

File tree

2 files changed

+68
-15
lines changed

2 files changed

+68
-15
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Releases
22

3+
## 1.41.7 (9/24/2024)
4+
5+
### New Features
6+
7+
- `imagebuild` command to build container images using different build engines.
8+
- `--http-probe-concurrency` - new flag to control HTTP probe command execution concurrency
9+
- `--http-probe-fail-on-status-5xx` - new flag to treat 5xx (e.g., 500) response status codes as errors
10+
11+
### Improvements
12+
13+
- `--http-probe-full` is now enabled by default, so all specified custom HTTP probe commands are executed.
14+
- Improved global `--host` flag and Docker runtime client connection setup
15+
16+
317
## 1.41.6 (8/24/2024)
418

519
### New Features

README.md

Lines changed: 54 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ Elixir application images:
174174
- [What if my Docker images uses the USER command?](#what-if-my-docker-images-uses-the-user-command)
175175
- [Nginx fails in my minified image](#nginx-fails-in-my-minified-image)
176176
- [Mint fails with a 'no permission to read from' error](#mint-fails-with-a-no-permission-to-read-from-error)
177+
- [EXPLORE SOURCE CODE WITH AI](#explore-source-code-with-ai)
177178
- [BUILD PROCESS](#build-process)
178179
- [Build Steps](#build-steps)
179180
- [CONTRIBUTING](#contributing)
@@ -190,9 +191,9 @@ Elixir application images:
190191

191192
## RECENT UPDATES
192193

193-
Latest version: `1.41.6` (`8/24/2024`)
194+
Latest version: `1.41.7` (`9/24/2024`)
194195

195-
The 1.41.6 version adds support for the Podman runtime in `xray` and a number of improvements with HTTP probing.
196+
The 1.41.7 version adds the `imagebuild` command to build container images using different build engines and it also adds a number of improvements with HTTP probing.
196197

197198
For more info about the latest release see the [`CHANGELOG`](CHANGELOG.md).
198199

@@ -209,15 +210,15 @@ mint update
209210

210211
1. Download the zip package for your platform.
211212

212-
- [Latest Mac binaries](https://github.com/mintoolkit/mint/releases/download/1.41.6/dist_mac.zip) (`curl -L -o ds.zip https://github.com/mintoolkit/mint/releases/download/1.41.6/dist_mac.zip`)
213+
- [Latest Mac binaries](https://github.com/mintoolkit/mint/releases/download/1.41.7/dist_mac.zip) (`curl -L -o ds.zip https://github.com/mintoolkit/mint/releases/download/1.41.7/dist_mac.zip`)
213214

214-
- [Latest Mac M1 binaries](https://github.com/mintoolkit/mint/releases/download/1.41.6/dist_mac_m1.zip) (`curl -L -o ds.zip https://github.com/mintoolkit/mint/releases/download/1.41.6/dist_mac_m1.zip)`)
215+
- [Latest Mac M1 binaries](https://github.com/mintoolkit/mint/releases/download/1.41.7/dist_mac_m1.zip) (`curl -L -o ds.zip https://github.com/mintoolkit/mint/releases/download/1.41.7/dist_mac_m1.zip)`)
215216

216-
- [Latest Linux binaries](https://github.com/mintoolkit/mint/releases/download/1.41.6/dist_linux.tar.gz) (`curl -L -o ds.tar.gz https://github.com/mintoolkit/mint/releases/download/1.41.6/dist_linux.tar.gz`)
217+
- [Latest Linux binaries](https://github.com/mintoolkit/mint/releases/download/1.41.7/dist_linux.tar.gz) (`curl -L -o ds.tar.gz https://github.com/mintoolkit/mint/releases/download/1.41.7/dist_linux.tar.gz`)
217218

218-
- [Latest Linux ARM binaries](https://github.com/mintoolkit/mint/releases/download/1.41.6/dist_linux_arm.tar.gz) (`curl -L -o ds.tar.gz https://github.com/mintoolkit/mint/releases/download/1.41.6/dist_linux_arm.tar.gz`)
219+
- [Latest Linux ARM binaries](https://github.com/mintoolkit/mint/releases/download/1.41.7/dist_linux_arm.tar.gz) (`curl -L -o ds.tar.gz https://github.com/mintoolkit/mint/releases/download/1.41.7/dist_linux_arm.tar.gz`)
219220

220-
- [Latest Linux ARM64 binaries](https://github.com/mintoolkit/mint/releases/download/1.41.6/dist_linux_arm64.tar.gz) (`curl -L -o ds.tar.gz https://github.com/mintoolkit/mint/releases/download/1.41.6/dist_linux_arm64.tar.gz`)
221+
- [Latest Linux ARM64 binaries](https://github.com/mintoolkit/mint/releases/download/1.41.7/dist_linux_arm64.tar.gz) (`curl -L -o ds.tar.gz https://github.com/mintoolkit/mint/releases/download/1.41.7/dist_linux_arm64.tar.gz`)
221222

222223
2. Unzip the package and optionally move it to your bin directory.
223224

@@ -609,7 +610,7 @@ See the "Debugging Using the `debug` Command" section for more information about
609610

610611
### `IMAGEBUILD` COMMAND OPTIONS
611612

612-
Build container image using selected build engine
613+
Build container image using selected build engine. The created image will be saved as a tar file. You can also load the new image into one of the supported runtimes.
613614

614615
USAGE: `mint [GLOBAL FLAGS] imagebuild [FLAGS] [IMAGE]`
615616

@@ -626,7 +627,41 @@ Flags:
626627
- `--engine-endpoint` - Build engine endpoint address (for `buildkit`).
627628
- `--engine-token` - Build engine specific API token (for `depot`).
628629
- `--engine-namespace` - Build engine specific namespace (for `depot`).
629-
- `--runtime-load` - Container runtime where to load to created image: `none`, `docker`, `podman`.
630+
- `--runtime-load` - Container runtime where to load the created image: `none`, `docker`, `podman`.
631+
632+
Examples:
633+
634+
An example showing how to use the cloud-based `depot.dev` build engine:
635+
636+
```bash
637+
export DEPOT_TOKEN=your_token
638+
export DEPOT_PROJECT_ID=your_project
639+
mint imagebuild --engine depot --dockerfile Dockerfile --context-dir .
640+
```
641+
642+
Another `depot.dev` engine example that also loads the created image into the local `Docker` instance:
643+
644+
```bash
645+
mint imagebuild --engine depot --engine-token your_depot_token --engine-namespace your_depot_project --dockerfile Dockerfile --context-dir . --runtime-load docker
646+
```
647+
648+
A `BuildKit` engine example that uses a local `BuildKit` instance running on tcp port 1234:
649+
650+
```bash
651+
mint imagebuild --engine buildkit --engine-endpoint tcp://localhost:12345 --image-name imagebuild-buildkit-app:latest --dockerfile ./node_app/Dockerfile --context-dir ./node_app --runtime-load docker
652+
```
653+
654+
With this `BuildKit` example the new image name is set to `imagebuild-buildkit-app:latest`. Make sure to use the `--image-name` flag if you don't want to use the default container image name.
655+
656+
Note that the `--dockerfile` flag is a path to the Dockerfile you want to use and it's not related to the context directory path provided with the `--context-dir`. This works for the `depot` and `buildkit` engines, but not for the `docker` or `podman` engines where the `--dockerfile` flag value is relative to the context directory.
657+
658+
A `Podman` engine example:
659+
660+
```bash
661+
mint imagebuild --engine podman --image-name imagebuild-podman-app:latest --build-arg BA=1 --label LONE=value --label LTWO="label two value" --dockerfile Dockerfile --context-dir node_app
662+
```
663+
664+
Note that this example also building the same image in the `node_app` directory, but here the `--dockerfile` flag value is set to `Dockerfile`. In this case, setting the `--dockerfile` flag was not necessary, because `Dockerfile` is the default `--dockerfile` flag value.
630665

631666
### `RUN` COMMAND OPTIONS
632667

@@ -1286,15 +1321,15 @@ The demo runs on Mac OS X, but you can build a linux version. Note that these st
12861321

12871322
1. Get the **Mint** app binaries:
12881323

1289-
* [Mac](https://github.com/mintoolkit/mint/releases/download/1.41.6/dist_mac.zip),
1290-
* [Mac M1](https://github.com/mintoolkit/mint/releases/download/1.41.6/dist_mac_m1.zip),
1291-
* [Linux](https://github.com/mintoolkit/mint/releases/download/1.41.6/dist_linux.tar.gz),
1292-
* [Linux ARM](https://github.com/mintoolkit/mint/releases/download/1.41.6/dist_linux_arm.tar.gz),
1293-
* [Linux ARM64](https://github.com/mintoolkit/mint/releases/download/1.41.6/dist_linux_arm64.tar.gz)
1324+
* [Mac](https://github.com/mintoolkit/mint/releases/download/1.41.7/dist_mac.zip),
1325+
* [Mac M1](https://github.com/mintoolkit/mint/releases/download/1.41.7/dist_mac_m1.zip),
1326+
* [Linux](https://github.com/mintoolkit/mint/releases/download/1.41.7/dist_linux.tar.gz),
1327+
* [Linux ARM](https://github.com/mintoolkit/mint/releases/download/1.41.7/dist_linux_arm.tar.gz),
1328+
* [Linux ARM64](https://github.com/mintoolkit/mint/releases/download/1.41.7/dist_linux_arm64.tar.gz)
12941329

12951330
Unzip them and optionally add their directory to your `PATH` environment variable if you want to use the app from other locations.
12961331

1297-
The extracted directory contains two binaries (and now it also contains a symlink for the old name):
1332+
The extracted directory contains two binaries (and now it also contains a symlink for the old n ame):
12981333

12991334
- `mint` <- the main **Mint** application binary
13001335
- `mint-sensor` <- the sensor application used to collect information from running containers
@@ -1413,6 +1448,10 @@ If you run older versions of **Mint** you can get around this problem by running
14131448

14141449
**Mint** copies the relevant image artifacts trying to preserve their permissions. If the permissions are too restrictive the master app might not have sufficient priviledge to access these files when it's building the new minified image.
14151450

1451+
## EXPLORE SOURCE CODE WITH AI
1452+
1453+
You can explore the project code and ask questions about the code using a Perplexity-like [`Code Sage`](https://sage.storia.ai/) portal created by [`Storia AI`](https://storia.ai/): https://sage.storia.ai/mintoolkit
1454+
14161455
## BUILD PROCESS
14171456

14181457
#### Build Options

0 commit comments

Comments
 (0)