Skip to content

Commit

Permalink
deploy: af81f9e
Browse files Browse the repository at this point in the history
  • Loading branch information
shishir-dey committed Nov 30, 2024
1 parent 7a30808 commit 470da0d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"build": {
"dockerfile": "Dockerfile"
},
"workspaceFolder": "/workspace",
"workspaceFolder": "/workspaces/stm32-devops-template",
"customizations": {
"vscode": {
"extensions": [
Expand All @@ -13,7 +13,7 @@
}
},
"mounts": [
"source=${localWorkspaceFolder},target=/workspace,type=bind"
"source=${localWorkspaceFolder},target=/workspaces/stm32-devops-template,type=bind"
],
"postCreateCommand": "echo 'Dev environment ready!'"
}
11 changes: 4 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,16 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Download and install arm-none-eabi-gcc
# Download and install arm-none-eabi-gcc
RUN wget -qO- https://developer.arm.com/-/media/Files/downloads/gnu-rm/12.2.rel1/gcc-arm-none-eabi-12.2.rel1-x86_64-linux.tar.bz2 \
| tar -xj -C /opt/ \
&& ln -s /opt/gcc-arm-none-eabi-12.2.rel1/bin/* /usr/local/bin/

# Verify installation
# Verify installation
RUN arm-none-eabi-gcc --version

# Create the workspace directory
RUN mkdir -p /workspace

# Set the working directory inside the container
WORKDIR /workspace
WORKDIR /workspaces/stm32-devops-template

# Default command for the container
CMD ["bash"]
CMD ["bash"]

0 comments on commit 470da0d

Please sign in to comment.