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
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,13 @@ Configure your entrypoint through the environment variable `APP_ENTRYPOINT` (def
8
8
9
9
### Example Dockerfile
10
10
11
-
FROM semtech/mu-ruby-template:2.9.0
11
+
FROM semtech/mu-ruby-template:2.10.0
12
12
LABEL maintainer="erika.pauwels@gmail.com"
13
13
# ONBUILD of mu-ruby-template takes care of everything
14
14
15
15
### Versions
16
16
The following versions of the mu-ruby-template are available:
17
+
*`2.10.0`; `2.10.0-ruby2.5`
17
18
*`2.9.0` ; `2.9.0-ruby2.5`
18
19
*`2.8.0` ; `2.8.0-ruby2.5`
19
20
*`2.7.0` ; `2.7.0-ruby2.5`
@@ -43,15 +44,15 @@ When developing, you can use the template image, mount the volume with your sour
43
44
-p 8888:80 \
44
45
-e RACK_ENV=development \
45
46
--name my-js-test \
46
-
semtech/mu-ruby-template:2.9.0
47
+
semtech/mu-ruby-template:2.10.0
47
48
48
49
### Develop in mu.semte.ch stack
49
50
When developing inside an existing mu.semte.ch stack, it is easiest to set the development mode and mount the sources directly. This makes it easy to setup links to the database and the dispatcher.
50
51
51
52
Optionally, you can publish the microservice on a different port, so you can access it directly without the dispatcher. In the example below, port 8888 is used to access the service directly. We set the path to our sources directly, ensuring we can develop the microservice in its original place.
52
53
53
54
yourMicroserviceName:
54
-
image: semtech/mu-ruby-template:2.9.0
55
+
image: semtech/mu-ruby-template:2.10.0
55
56
ports:
56
57
- 8888:80
57
58
environment:
@@ -154,7 +155,7 @@ To run the tests while developing, start an interactive container in the test en
154
155
155
156
docker run --volume /path/to/your/code:/app
156
157
-e RACK_ENV=test
157
-
-it semtech/mu-ruby-template:2.9.0 /bin/bash
158
+
-it semtech/mu-ruby-template:2.10.0 /bin/bash
158
159
159
160
You can now run your tests inside the container with:
0 commit comments