Skip to content

Commit

Permalink
fixes and release info
Browse files Browse the repository at this point in the history
  • Loading branch information
kcq committed Nov 8, 2021
1 parent e7be7b3 commit ca48b5b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ Elixir application images:

## RECENT UPDATES

Latest version: 1.37.1 (11/7/2021)
Latest version: 1.37.2 (11/8/2021)

The 1.37.x releases add an experimental docker-compose support for the build command.

Expand All @@ -204,15 +204,15 @@ docker-slim update

1. Download the zip package for your platform.

- [Latest Mac binaries](https://downloads.dockerslim.com/releases/1.37.1/dist_mac.zip) (`curl -L -o ds.zip https://downloads.dockerslim.com/releases/1.37.1/dist_mac.zip`)
- [Latest Mac binaries](https://downloads.dockerslim.com/releases/1.37.2/dist_mac.zip) (`curl -L -o ds.zip https://downloads.dockerslim.com/releases/1.37.2/dist_mac.zip`)

- [Latest Mac M1 binaries](https://downloads.dockerslim.com/releases/1.37.1/dist_mac_m1.zip) (`curl -L -o ds.zip https://downloads.dockerslim.com/releases/1.37.1/dist_mac_m1.zip`)
- [Latest Mac M1 binaries](https://downloads.dockerslim.com/releases/1.37.2/dist_mac_m1.zip) (`curl -L -o ds.zip https://downloads.dockerslim.com/releases/1.37.2/dist_mac_m1.zip`)

- [Latest Linux binaries](https://downloads.dockerslim.com/releases/1.37.1/dist_linux.tar.gz) (`curl -L -o ds.tar.gz https://downloads.dockerslim.com/releases/1.37.1/dist_linux.tar.gz`)
- [Latest Linux binaries](https://downloads.dockerslim.com/releases/1.37.2/dist_linux.tar.gz) (`curl -L -o ds.tar.gz https://downloads.dockerslim.com/releases/1.37.2/dist_linux.tar.gz`)

- [Latest Linux ARM binaries](https://downloads.dockerslim.com/releases/1.37.1/dist_linux_arm.tar.gz) (`curl -L -o ds.tar.gz https://downloads.dockerslim.com/releases/1.37.1/dist_linux_arm.tar.gz`)
- [Latest Linux ARM binaries](https://downloads.dockerslim.com/releases/1.37.2/dist_linux_arm.tar.gz) (`curl -L -o ds.tar.gz https://downloads.dockerslim.com/releases/1.37.2/dist_linux_arm.tar.gz`)

- [Latest Linux ARM64 binaries](https://downloads.dockerslim.com/releases/1.37.1/dist_linux_arm64.tar.gz) (`curl -L -o ds.tar.gz https://downloads.dockerslim.com/releases/1.37.1/dist_linux_arm64.tar.gz`)
- [Latest Linux ARM64 binaries](https://downloads.dockerslim.com/releases/1.37.2/dist_linux_arm64.tar.gz) (`curl -L -o ds.tar.gz https://downloads.dockerslim.com/releases/1.37.2/dist_linux_arm64.tar.gz`)

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

Expand Down Expand Up @@ -731,7 +731,7 @@ You can use the generated profile with your original image or with the minified

The demo runs on Mac OS X, but you can build a linux version. Note that these steps are different from the steps in the demo video.

1. Get the docker-slim [Mac](https://downloads.dockerslim.com/releases/1.37.1/dist_mac.zip), [Mac M1](https://downloads.dockerslim.com/releases/1.37.1/dist_mac_m1.zip), [Linux](https://downloads.dockerslim.com/releases/1.37.1/dist_linux.tar.gz), [Linux ARM](https://downloads.dockerslim.com/releases/1.37.1/dist_linux_arm.tar.gz) or [Linux ARM64](https://downloads.dockerslim.com/releases/1.37.1/dist_linux_arm64.tar.gz) binaries. Unzip them and optionally add their directory to your PATH environment variable if you want to use the app from other locations.
1. Get the docker-slim [Mac](https://downloads.dockerslim.com/releases/1.37.2/dist_mac.zip), [Mac M1](https://downloads.dockerslim.com/releases/1.37.2/dist_mac_m1.zip), [Linux](https://downloads.dockerslim.com/releases/1.37.2/dist_linux.tar.gz), [Linux ARM](https://downloads.dockerslim.com/releases/1.37.2/dist_linux_arm.tar.gz) or [Linux ARM64](https://downloads.dockerslim.com/releases/1.37.2/dist_linux_arm64.tar.gz) binaries. Unzip them and optionally add their directory to your PATH environment variable if you want to use the app from other locations.

The extracted directory contains two binaries:

Expand Down
4 changes: 4 additions & 0 deletions pkg/app/master/commands/build/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,10 @@ func OnCommand(

//expose ports
svcExposedPorts := compose.ExposedPorts(targetSvcInfo.Config.Expose, targetSvcInfo.Config.Ports)
if len(svcExposedPorts) > 0 && overrides.ExposedPorts == nil {
overrides.ExposedPorts = map[dockerapi.Port]struct{}{}
}

for k, v := range svcExposedPorts {
overrides.ExposedPorts[k] = v
}
Expand Down

0 comments on commit ca48b5b

Please sign in to comment.