Fossil SCM
Tiny clarity tweaks to the Dockerfile. No functional change.
Commit
591e3eb90edd73f086948fc87e593338eae59be931630d7f507440dd75638025
Parent
4b41a7f8bdbe455…
1 file changed
+2
-2
+2
-2
| --- Dockerfile | ||
| +++ Dockerfile | ||
| @@ -56,17 +56,17 @@ | ||
| 56 | 56 | |
| 57 | 57 | ## --------------------------------------------------------------------- |
| 58 | 58 | ## STAGE 2: Pare that back to the bare essentials. |
| 59 | 59 | ## --------------------------------------------------------------------- |
| 60 | 60 | |
| 61 | -FROM scratch | |
| 61 | +FROM scratch AS os | |
| 62 | 62 | WORKDIR /jail |
| 63 | 63 | ARG UID=499 |
| 64 | 64 | ENV PATH "/bin:/usr/bin:/jail/bin" |
| 65 | 65 | |
| 66 | 66 | ### Lay BusyBox down as the first base layer. Coupled with the host's |
| 67 | -### kernel, this is the "OS." | |
| 67 | +### kernel, this is the "OS" used to RUN the subsequent setup script. | |
| 68 | 68 | COPY --from=builder /tmp/bbx/busybox /bin/ |
| 69 | 69 | RUN [ "/bin/busybox", "--install", "/bin" ] |
| 70 | 70 | |
| 71 | 71 | ### Set up that base OS for our specific use without tying it to |
| 72 | 72 | ### anything likely to change often. So long as the user leaves |
| 73 | 73 |
| --- Dockerfile | |
| +++ Dockerfile | |
| @@ -56,17 +56,17 @@ | |
| 56 | |
| 57 | ## --------------------------------------------------------------------- |
| 58 | ## STAGE 2: Pare that back to the bare essentials. |
| 59 | ## --------------------------------------------------------------------- |
| 60 | |
| 61 | FROM scratch |
| 62 | WORKDIR /jail |
| 63 | ARG UID=499 |
| 64 | ENV PATH "/bin:/usr/bin:/jail/bin" |
| 65 | |
| 66 | ### Lay BusyBox down as the first base layer. Coupled with the host's |
| 67 | ### kernel, this is the "OS." |
| 68 | COPY --from=builder /tmp/bbx/busybox /bin/ |
| 69 | RUN [ "/bin/busybox", "--install", "/bin" ] |
| 70 | |
| 71 | ### Set up that base OS for our specific use without tying it to |
| 72 | ### anything likely to change often. So long as the user leaves |
| 73 |
| --- Dockerfile | |
| +++ Dockerfile | |
| @@ -56,17 +56,17 @@ | |
| 56 | |
| 57 | ## --------------------------------------------------------------------- |
| 58 | ## STAGE 2: Pare that back to the bare essentials. |
| 59 | ## --------------------------------------------------------------------- |
| 60 | |
| 61 | FROM scratch AS os |
| 62 | WORKDIR /jail |
| 63 | ARG UID=499 |
| 64 | ENV PATH "/bin:/usr/bin:/jail/bin" |
| 65 | |
| 66 | ### Lay BusyBox down as the first base layer. Coupled with the host's |
| 67 | ### kernel, this is the "OS" used to RUN the subsequent setup script. |
| 68 | COPY --from=builder /tmp/bbx/busybox /bin/ |
| 69 | RUN [ "/bin/busybox", "--install", "/bin" ] |
| 70 | |
| 71 | ### Set up that base OS for our specific use without tying it to |
| 72 | ### anything likely to change often. So long as the user leaves |
| 73 |