Fix a couple missed %%IMAGE%% conversions
This commit is contained in:
parent
161bc52791
commit
77e1c1f3d5
|
|
@ -78,7 +78,7 @@ You can also use `couchdb` as the base image for your own couchdb instance and p
|
|||
Example Dockerfile:
|
||||
|
||||
```dockerfile
|
||||
FROM %%REPO%%
|
||||
FROM %%IMAGE%%
|
||||
|
||||
COPY local.ini /usr/local/etc/couchdb/
|
||||
```
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
|
|||
The most straightforward way to use this image is to use a Java container as both the build and runtime environment. In your `Dockerfile`, writing something along the lines of the following will compile and run your project:
|
||||
|
||||
```dockerfile
|
||||
FROM %%REPO%%:7
|
||||
FROM %%IMAGE%%:7
|
||||
COPY . /usr/src/myapp
|
||||
WORKDIR /usr/src/myapp
|
||||
RUN javac Main.java
|
||||
|
|
|
|||
Loading…
Reference in New Issue