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
@@ -7,135 +7,128 @@ Scripts to build the official Image Builder on Scaleway
7
7

8
8
---
9
9
10
-
**This image is meant to be used on a C1 server.**
10
+
**This image is meant to be used on a Scaleway server.**
11
11
12
-
We use the Docker's building system and convert it at the end to a disk image that will boot on real servers without Docker. Note that the image is still runnable as a Docker container for debug or for inheritance.
12
+
We use the Docker's building system and convert it at the end to a disk image that will boot on real servers without Docker.
13
+
14
+
> Note that the image is still runnable as a Docker container for debug or for inheritance.
Your custom image is now available [here](https://cloud.scaleway.com/#/images)
161
154
162
155
##### 4. Running your custom image
163
156
```console
164
-
root@buildcowsay> scw run --tmp-ssh-key YOUR_IMAGE_ID
165
-
root@your_custom_image> cowsay "Hello from my custom vivid"
157
+
root@buildcowsay:~/cowsay# scw run --tmp-ssh-key --name="cowsay-app" IMAGE_ID
158
+
_
159
+
___ ___ __ _| | _____ ____ _ _ _
160
+
/ __|/ __/ _` | |/ _ \ \ /\ / / _` | | | |
161
+
\__ \ (_| (_| | | __/\ V V / (_| | |_| |
162
+
|___/\___\__,_|_|\___| \_/\_/ \__,_|\__, |
163
+
|___/
164
+
...
165
+
166
+
root@cowsay-app:~# cowsay "Hello from my app"
166
167
____________________________
167
-
< Hello from my custom vivid >
168
+
< Hello from my app >
168
169
----------------------------
169
170
\ ^__^
170
171
\ (oo)\_______
@@ -175,9 +176,31 @@ root@your_custom_image> cowsay "Hello from my custom vivid"
175
176
176
177
---
177
178
179
+
## Multiarch
180
+
181
+
By default `make image_on_local` use your architecture (x86_64 on C2/VPS and armv7l on C1), if you want to craft your image in arm you must specify the architecture with `armv7l`
182
+
183
+
```console
184
+
# works only on C2/VPS
185
+
ARCH=armv7l make image_on_local
186
+
```
187
+
188
+
Or run image-builder with C1
189
+
190
+
```console
191
+
root@yourmachine> scw run --name="arm-builder" --commercial-type=C1 image-builder
192
+
```
193
+
194
+
195
+
## Know issues
196
+
197
+
- if you have an error when you try to connect on your Scaleway account, remove `~/.scwrc` and retry
198
+
178
199
## Changelog
179
200
180
201
### Unreleased
202
+
* Multiarch documentation
203
+
* Bump scw to 1.8.0
181
204
* Improved image-builder-configure (now he don't ask for login/password is ~/.scwrc already exist)
0 commit comments