1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-05 12:44:54 +01:00

update incorrect artifacts path in builder_image doc

This commit is contained in:
Will Gordon
2017-12-06 19:06:36 -05:00
parent e3e0eedc3f
commit b681988039

View File

@@ -86,14 +86,14 @@ in ``USER`` directive of Dockerfile, you can achive this by the following ways:
#### Example `assemble` script:
**NOTE**: All the examples are written in [Bash](http://www.gnu.org/software/bash/)
and it is assumed that the tar contents unpack into the `/tmp/s2i` directory.
and it is assumed that the tar contents unpack into the `/tmp` directory.
```
#!/bin/bash
# restore build artifacts
if [ "$(ls /tmp/s2i/artifacts/ 2>/dev/null)" ]; then
mv /tmp/s2i/artifacts/* $HOME/.
if [ "$(ls /tmp/artifacts/ 2>/dev/null)" ]; then
mv /tmp/artifacts/* $HOME/.
fi
# move the application source