Skip to content

Commit

Permalink
switch docker to Alpine (hackclub#1609)
Browse files Browse the repository at this point in the history
  • Loading branch information
recursiveforte authored Apr 25, 2024
1 parent a8b1485 commit b8f2714
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 5 additions & 3 deletions firmware/spade/docker/dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
FROM fedora:39
FROM alpine:3.19

RUN apk add git python3 clang make cmake entr uglify-js gcc-arm-none-eabi g++-arm-none-eabi

COPY ./importBuildRepos.sh /opt/importBuildRepos.sh

RUN chmod +x /opt/importBuildRepos.sh

RUN /opt/importBuildRepos.sh

COPY ./buildScript.sh /opt/buildScript.sh

RUN chmod +x /opt/buildScript.sh

RUN /opt/importBuildRepos.sh

CMD /opt/buildScript.sh
2 changes: 0 additions & 2 deletions firmware/spade/docker/importBuildRepos.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
dnf install git python3 clang make cmake entr uglify-js gcc-arm-linux-gnu arm-none-eabi-gcc-cs-c++ arm-none-eabi-gcc-cs arm-none-eabi-binutils arm-none-eabi-newlib -y

mkdir ~/jerryscript_build
cd ~/jerryscript_build
git clone https://github.com/jerryscript-project/jerryscript.git
Expand Down

0 comments on commit b8f2714

Please sign in to comment.