mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-04-20 17:11:23 +00:00
Small readme edit, fix ncc dependency
Signed-off-by: Tim Etchells <tetchell@redhat.com>
This commit is contained in:
parent
236b973ed2
commit
90c167f5f5
5 changed files with 12 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
# buildah
|
# buildah
|
||||||
|
[](https://github.com/redhat-actions/buildah-action/actions?query=workflow%3A%22Verify+Bundle%22)
|
||||||
[](https://github.com/redhat-actions/buildah-action/tags)
|
[](https://github.com/redhat-actions/buildah-action/tags)
|
||||||
[](./LICENSE)
|
[](./LICENSE)
|
||||||
[](./dist)
|
[](./dist)
|
||||||
|
@ -139,7 +139,8 @@ Do not set `dockerfiles` if you are doing a build from scratch, or a docker buil
|
||||||
- `content` to copy into the new image
|
- `content` to copy into the new image
|
||||||
- In a Dockerfile, this would be `COPY` directives.
|
- In a Dockerfile, this would be `COPY` directives.
|
||||||
- `entrypoint` so the container knows what command to run.
|
- `entrypoint` so the container knows what command to run.
|
||||||
- All other optional configuration inputs.
|
- In a Dockerfile, this would be the `ENTRYPOINT`.
|
||||||
|
- All other optional configuration inputs, such as `port`, `envs`, and `workdir`.
|
||||||
|
|
||||||
Example of building a Spring Boot Java app image:
|
Example of building a Spring Boot Java app image:
|
||||||
```yaml
|
```yaml
|
||||||
|
|
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
6
package-lock.json
generated
6
package-lock.json
generated
|
@ -28,6 +28,12 @@
|
||||||
"integrity": "sha512-Wgdl27uw/jUYUFyajUGKSjDNGxmJrZi9sjeG6UJImgUtKbJoO9aldx+1XODN1EpNDX9DirvbvHHmTsNlb8GwMA==",
|
"integrity": "sha512-Wgdl27uw/jUYUFyajUGKSjDNGxmJrZi9sjeG6UJImgUtKbJoO9aldx+1XODN1EpNDX9DirvbvHHmTsNlb8GwMA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"@vercel/ncc": {
|
||||||
|
"version": "0.25.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.25.1.tgz",
|
||||||
|
"integrity": "sha512-dGecC5+1wLof1MQpey4+6i2KZv4Sfs6WfXkl9KfO32GED4ZPiKxRfvtGPjbjZv0IbqMl6CxtcV1RotXYfd5SSA==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"argparse": {
|
"argparse": {
|
||||||
"version": "1.0.10",
|
"version": "1.0.10",
|
||||||
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
|
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^12",
|
"@types/node": "^12",
|
||||||
|
"@vercel/ncc": "^0.25.1",
|
||||||
"typescript": "^4.0.5"
|
"typescript": "^4.0.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue