Skip to content

Commit ca48b5b

Browse files
committed
fixes and release info
1 parent e7be7b3 commit ca48b5b

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Elixir application images:
185185

186186
## RECENT UPDATES
187187

188-
Latest version: 1.37.1 (11/7/2021)
188+
Latest version: 1.37.2 (11/8/2021)
189189

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

@@ -204,15 +204,15 @@ docker-slim update
204204

205205
1. Download the zip package for your platform.
206206

207-
- [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`)
207+
- [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`)
208208

209-
- [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`)
209+
- [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`)
210210

211-
- [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`)
211+
- [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`)
212212

213-
- [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`)
213+
- [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`)
214214

215-
- [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`)
215+
- [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`)
216216

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

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

732732
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.
733733

734-
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.
734+
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.
735735

736736
The extracted directory contains two binaries:
737737

pkg/app/master/commands/build/handler.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,10 @@ func OnCommand(
445445

446446
//expose ports
447447
svcExposedPorts := compose.ExposedPorts(targetSvcInfo.Config.Expose, targetSvcInfo.Config.Ports)
448+
if len(svcExposedPorts) > 0 && overrides.ExposedPorts == nil {
449+
overrides.ExposedPorts = map[dockerapi.Port]struct{}{}
450+
}
451+
448452
for k, v := range svcExposedPorts {
449453
overrides.ExposedPorts[k] = v
450454
}

0 commit comments

Comments
 (0)