File tree Expand file tree Collapse file tree 4 files changed +13
-4
lines changed
arm-none-eabi-plugins/docker Expand file tree Collapse file tree 4 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -143,11 +143,13 @@ RUN set -ex \
143
143
&& chown dev:nonroot /home/dev \
144
144
&& chmod -R ug+rwx /home/dev \
145
145
# Copy simple Z shell config file & give new user permissions
146
- && cp /assets/base/shell/zshrc /home/dev/.zshrc \
146
+ && cp /assets/base/shell/zshrc-dev /home/dev/.zshrc \
147
147
&& chown dev:nonroot /home/dev/.zshrc \
148
148
# Copy welcome file & give new user permissions
149
149
&& cp /assets/arm-none-eabi-plugins/shell/welcome /home/dev/.welcome \
150
150
&& chown dev:nonroot /home/dev/.welcome \
151
+ # Copy simple Z shell config file for root user (for running container as `-u root`)
152
+ && cp /assets/base/shell/zshrc-root /root/.zshrc \
151
153
# Cleanup assets
152
154
&& rm -rf /assets
153
155
Original file line number Diff line number Diff line change @@ -116,11 +116,13 @@ RUN set -ex \
116
116
&& chown dev:nonroot /home/dev \
117
117
&& chmod -R ug+rwx /home/dev \
118
118
# Copy simple Z shell config file & give new user permissions
119
- && cp /assets/base/shell/zshrc /home/dev/.zshrc \
119
+ && cp /assets/base/shell/zshrc-dev /home/dev/.zshrc \
120
120
&& chown dev:nonroot /home/dev/.zshrc \
121
121
# Copy welcome file & give new user permissions
122
122
&& cp /assets/arm-none-eabi/shell/welcome /home/dev/.welcome \
123
123
&& chown dev:nonroot /home/dev/.welcome \
124
+ # Copy simple Z shell config file for root user (for running container as `-u root`)
125
+ && cp /assets/base/shell/zshrc-root /root/.zshrc \
124
126
# Cleanup assets
125
127
&& rm -rf /assets
126
128
Original file line number Diff line number Diff line change @@ -144,11 +144,13 @@ RUN set -ex \
144
144
&& chown dev:nonroot /home/dev \
145
145
&& chmod -R ug+rwx /home/dev \
146
146
# Copy simple Z shell config file & give new user permissions
147
- && cp /assets/base/shell/zshrc /home/dev/.zshrc \
147
+ && cp /assets/base/shell/zshrc-dev /home/dev/.zshrc \
148
148
&& chown dev:nonroot /home/dev/.zshrc \
149
149
# Copy welcome file & give new user permissions
150
150
&& cp /assets/plugins/shell/welcome /home/dev/.welcome \
151
151
&& chown dev:nonroot /home/dev/.welcome \
152
+ # Copy simple Z shell config file for root user (for running container as `-u root`)
153
+ && cp /assets/base/shell/zshrc-root /root/.zshrc \
152
154
# Cleanup assets
153
155
&& rm -rf /assets
154
156
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ FROM bitnami/minideb:bookworm
13
13
ARG TARGETPLATFORM
14
14
15
15
# This build argument allows setting the image tag at build time to support CI-based builds
16
+ # The command line must include `--build-arg CONTAINER_VERSION=<version>`
16
17
ARG CONTAINER_VERSION
17
18
18
19
# Capture TARGETPLATFORM as an environment variable in the image
@@ -116,11 +117,13 @@ RUN set -ex \
116
117
&& chown dev:nonroot /home/dev \
117
118
&& chmod -R ug+rwx /home/dev \
118
119
# Copy simple Z shell config file & give new user permissions
119
- && cp /assets/base/shell/zshrc /home/dev/.zshrc \
120
+ && cp /assets/base/shell/zshrc-dev /home/dev/.zshrc \
120
121
&& chown dev:nonroot /home/dev/.zshrc \
121
122
# Copy welcome file & give new user permissions
122
123
&& cp /assets/standard/shell/welcome /home/dev/.welcome \
123
124
&& chown dev:nonroot /home/dev/.welcome \
125
+ # Copy simple Z shell config file for root user (for running container as `-u root`)
126
+ && cp /assets/base/shell/zshrc-root /root/.zshrc \
124
127
# Cleanup assets
125
128
&& rm -rf /assets
126
129
You can’t perform that action at this time.
0 commit comments