Skip to content

Commit

Permalink
new container added on sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
kassane committed Oct 19, 2023
1 parent eda578e commit 88c7e44
Showing 1 changed file with 10 additions and 26 deletions.
36 changes: 10 additions & 26 deletions zigConsole/Dockerfile.sdk
Original file line number Diff line number Diff line change
@@ -1,34 +1,18 @@
# ARGUMENTS --------------------------------------------------------------------
ARG CROSS_SDK_BASE_TAG=3.0.9-bookworm
FROM kassany/ziglang:0.11.0

##
# Board architecture
# arm or arm64
##
ARG IMAGE_ARCH=


# BUILD ------------------------------------------------------------------------
FROM torizon/debian-cross-toolchain-${IMAGE_ARCH}:${CROSS_SDK_BASE_TAG}

# __deps__
RUN apt-get -q -y update && \
apt-get -q -y install \
RUN apt-get update && \
apt-get install -y \
# ADD YOUR PACKAGES HERE
&& \
apt-get clean && apt-get autoremove && \
rm -rf /var/lib/apt/lists/*
# __deps__

# automate for torizonPackages.json
RUN apt-get -q -y update && \
apt-get -q -y install \
# DO NOT REMOVE THIS LABEL: this is used for VS Code automation
# __torizon_packages_dev_start__
# __torizon_packages_dev_end__
# DO NOT REMOVE THIS LABEL: this is used for VS Code automation
&& \
apt-get clean && apt-get autoremove && \
rm -rf /var/lib/apt/lists/*
ARG UNAME=ziguana
ARG UID=1000
ARG GID=1000
RUN groupadd -g $GID -o $UNAME
RUN useradd -m -u $UID -g $GID -o -s /bin/bash $UNAME

USER $UNAME

WORKDIR /app

0 comments on commit 88c7e44

Please sign in to comment.