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
INFO[2022-09-05T16:44:18+09:00] detected 127.0.0.53 nameserver, assuming systemd-resolved, so using resolv.conf: /run/systemd/resolve/resolv.conf
81
89
Breakpoint[0]: reached line: Dockerfile:5
82
90
Filename: "Dockerfile"
83
91
2| RUN echo hello > /hello
@@ -89,10 +97,10 @@ Filename: "Dockerfile"
89
97
8| COPY --from=build1 /hello /
90
98
(buildg) exec --image sh
91
99
# cat /etc/os-release
92
-
PRETTY_NAME="Ubuntu 22.04 LTS"
100
+
PRETTY_NAME="Ubuntu 22.04.1 LTS"
93
101
NAME="Ubuntu"
94
102
VERSION_ID="22.04"
95
-
VERSION="22.04 LTS (Jammy Jellyfish)"
103
+
VERSION="22.04.1 LTS (Jammy Jellyfish)"
96
104
VERSION_CODENAME=jammy
97
105
ID=ubuntu
98
106
ID_LIKE=debian
@@ -120,28 +128,20 @@ See [`./examples/dap/README.md`](./examples/dap/README.md) for usage of DAP.
120
128
121
129
## Install
122
130
123
-
- Requirements
124
-
-[runc](https://github.com/opencontainers/runc)
125
-
-[OPTIONAL][RootlessKit](https://github.com/rootless-containers/rootlesskit) and [slirp4netns](https://github.com/rootless-containers/slirp4netns) for rootless execution
126
-
127
-
> NOTE: Native execution is supported only on Linux as of now. On other platforms, please run buildg on Linux VM (e.g. [Lima](https://github.com/lima-vm/lima), etc)
128
-
129
-
### Release binaries
131
+
Binaries are available from https://github.com/ktock/buildg/releases
130
132
131
-
Available from https://github.com/ktock/buildg/releases
133
+
Requirements:
132
134
133
-
### Rootless mode
135
+
-[runc](https://github.com/opencontainers/runc)
136
+
-[OPTIONAL][RootlessKit](https://github.com/rootless-containers/rootlesskit) and [slirp4netns](https://github.com/rootless-containers/slirp4netns) for rootless execution
134
137
135
-
Install and use [`buildg.sh`](./extras/buildg.sh).
136
-
[RootlessKit](https://github.com/rootless-containers/rootlesskit) and [slirp4netns](https://github.com/rootless-containers/slirp4netns) are needed.
138
+
They are included in our release tar `buildg-full-<version>-<os>-<arch>.tar.gz` but not included in `buildg-<version>-<os>-<arch>.tar.gz`.
137
139
138
-
```
139
-
$ buildg.sh debug /path/to/context
140
-
```
140
+
> NOTE1: Native execution is supported only on Linux as of now. On other platforms, please run buildg on Linux VM (e.g. [Lima](https://github.com/lima-vm/lima), etc)
141
141
142
-
> NOTE: [buildg on IDEs (VS Code, Emacs, Neovim, etc.)](./examples/dap/)require this configuration
The doc in BuildKit project for troubleshooting: https://github.com/moby/buildkit/blob/master/docs/rootless.md#troubleshooting
144
+
> NOTE3: For troubleshooting rootless mode, please see also the doc provided by BuildKit: https://github.com/moby/buildkit/blob/master/docs/rootless.md#troubleshooting
You can also use [bake command by Docker Buildx](https://docs.docker.com/engine/reference/commandline/buildx_bake/):
182
+
You can also use [bake command by Docker Buildx](https://docs.docker.com/engine/reference/commandline/buildx_bake/) to build the container:
176
183
177
184
```
178
185
docker buildx bake --set image-local.tags=buildg
@@ -246,7 +253,7 @@ Flags:
246
253
- `--secret value` : Secret value exposed to the build. Format: `id=secretname,src=filepath`
247
254
- `--ssh value` : Allow forwarding SSH agent to the build. Format: `default|<id>[=<socket>|<key>[,<key>]]`
248
255
- `--cache-from value`: Import build cache from the specified location. e.g. `user/app:cache`, `type=local,src=path/to/dir` (see [`./docs/cache-from.md`](./docs/cache-from.md))
0 commit comments