You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,22 @@ for enhanced tests with modbus masters and to test collecting values from differ
39
39
40
40
The Modbus specification can be found here: [PDF](https://modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf)
41
41
42
+
# Own Docker builds and version pinning
43
+
44
+
If you want to build your own container image with the [Dockerfile](./Dockerfile) you should know that the file uses version pinning to have a deterministic environment for the application.
45
+
This is a best bractice and described in [Hadolint DL3018](https://github.com/hadolint/hadolint/wiki/DL3018).
46
+
47
+
The problem is, that Alpine Linux doesn't keep old versions inside the software repository. When software will be updated, the old (pinned) version will be removed and is so no longer available.
48
+
Docker builds will be successfull today and fail tomorrow.
49
+
50
+
See also here: https://github.com/hadolint/hadolint/issues/464
51
+
52
+
53
+
The [Dockerfile](./Dockerfile) in this repo may have an not working stand of pinned versions. When you run in errors during your own build, please:
54
+
55
+
1. Update the versions inside the Dockerfile for your own
56
+
2. Don't create an issue in the Github repo, because this is a known issue
0 commit comments