Skip to content

Commit

Permalink
Updated, regenerated Dockerfiles for all images
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarlesky committed Nov 29, 2024
1 parent bfbb68c commit 2625e46
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
4 changes: 3 additions & 1 deletion build/arm-none-eabi-plugins/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,13 @@ RUN set -ex \
&& chown dev:nonroot /home/dev \
&& chmod -R ug+rwx /home/dev \
# Copy simple Z shell config file & give new user permissions
&& cp /assets/base/shell/zshrc /home/dev/.zshrc \
&& cp /assets/base/shell/zshrc-dev /home/dev/.zshrc \
&& chown dev:nonroot /home/dev/.zshrc \
# Copy welcome file & give new user permissions
&& cp /assets/arm-none-eabi-plugins/shell/welcome /home/dev/.welcome \
&& chown dev:nonroot /home/dev/.welcome \
# Copy simple Z shell config file for root user (for running container as `-u root`)
&& cp /assets/base/shell/zshrc-root /root/.zshrc \
# Cleanup assets
&& rm -rf /assets

Expand Down
4 changes: 3 additions & 1 deletion build/arm-none-eabi/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,13 @@ RUN set -ex \
&& chown dev:nonroot /home/dev \
&& chmod -R ug+rwx /home/dev \
# Copy simple Z shell config file & give new user permissions
&& cp /assets/base/shell/zshrc /home/dev/.zshrc \
&& cp /assets/base/shell/zshrc-dev /home/dev/.zshrc \
&& chown dev:nonroot /home/dev/.zshrc \
# Copy welcome file & give new user permissions
&& cp /assets/arm-none-eabi/shell/welcome /home/dev/.welcome \
&& chown dev:nonroot /home/dev/.welcome \
# Copy simple Z shell config file for root user (for running container as `-u root`)
&& cp /assets/base/shell/zshrc-root /root/.zshrc \
# Cleanup assets
&& rm -rf /assets

Expand Down
4 changes: 3 additions & 1 deletion build/plugins/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,13 @@ RUN set -ex \
&& chown dev:nonroot /home/dev \
&& chmod -R ug+rwx /home/dev \
# Copy simple Z shell config file & give new user permissions
&& cp /assets/base/shell/zshrc /home/dev/.zshrc \
&& cp /assets/base/shell/zshrc-dev /home/dev/.zshrc \
&& chown dev:nonroot /home/dev/.zshrc \
# Copy welcome file & give new user permissions
&& cp /assets/plugins/shell/welcome /home/dev/.welcome \
&& chown dev:nonroot /home/dev/.welcome \
# Copy simple Z shell config file for root user (for running container as `-u root`)
&& cp /assets/base/shell/zshrc-root /root/.zshrc \
# Cleanup assets
&& rm -rf /assets

Expand Down
5 changes: 4 additions & 1 deletion build/standard/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ FROM bitnami/minideb:bookworm
ARG TARGETPLATFORM

# This build argument allows setting the image tag at build time to support CI-based builds
# The command line must include `--build-arg CONTAINER_VERSION=<version>`
ARG CONTAINER_VERSION

# Capture TARGETPLATFORM as an environment variable in the image
Expand Down Expand Up @@ -116,11 +117,13 @@ RUN set -ex \
&& chown dev:nonroot /home/dev \
&& chmod -R ug+rwx /home/dev \
# Copy simple Z shell config file & give new user permissions
&& cp /assets/base/shell/zshrc /home/dev/.zshrc \
&& cp /assets/base/shell/zshrc-dev /home/dev/.zshrc \
&& chown dev:nonroot /home/dev/.zshrc \
# Copy welcome file & give new user permissions
&& cp /assets/standard/shell/welcome /home/dev/.welcome \
&& chown dev:nonroot /home/dev/.welcome \
# Copy simple Z shell config file for root user (for running container as `-u root`)
&& cp /assets/base/shell/zshrc-root /root/.zshrc \
# Cleanup assets
&& rm -rf /assets

Expand Down

0 comments on commit 2625e46

Please sign in to comment.