-
Notifications
You must be signed in to change notification settings - Fork 22
docker: initial checkin Dockerfile for nuttx github action container #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| FROM ubuntu:18.04 | ||
| MAINTAINER Haitao Liu<liuguo09@gmail.com> | ||
|
|
||
| RUN dpkg --add-architecture i386 | ||
| RUN apt-get update | ||
| RUN apt-get install -y git-core automake bison build-essential flex gperf wget libx11-dev libxext-dev u-boot-tools | ||
| RUN apt-get install -y lib32z1-dev lib32ncurses5-dev libc6-dev-i386 libx11-dev:i386 libxext-dev:i386 | ||
| RUN apt-get install -y curl gettext | ||
| RUN apt-get install -y libcurl4-openssl-dev | ||
| RUN apt-get install -y xxd | ||
| RUN apt-get install -y unzip | ||
| RUN apt-get clean | ||
| RUN mkdir /prebuilt | ||
|
|
||
| WORKDIR /prebuilt | ||
|
|
||
| ADD gcc-arm-none-eabi.tar.gz ./ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. change to download from offical release website
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll update it later. |
||
| ADD pinguino-compilers.tar.gz ./ | ||
| ADD riscv64-unknown-elf-gcc.tar.gz ./ | ||
| ADD genromfs-0.5.2.tar.gz ./ | ||
| ADD kconfig-frontends-4.11.0.tar.gz ./ | ||
| ADD git-2.18.0.tar.gz ./ | ||
|
|
||
| RUN cd /prebuilt/genromfs-0.5.2 && make install PREFIX=/prebuilt/genromfs | ||
|
|
||
| RUN cd /prebuilt/kconfig-frontends-4.11.0 && ./configure --prefix=/prebuilt/kconfig-frontends --enable-mconf --disable-gconf --disable-qconf --enable-static && make install | ||
|
|
||
| RUN cd /prebuilt/git-2.18.0 && ./configure --prefix=/prebuilt/git && make install | ||
|
|
||
| RUN rm -rf /prebuilt/genromfs-0.5.2 /prebuilt/kconfig-frontends-4.11.0 /prebuilt/git-2.18.0 | ||
|
|
||
| ENV PATH /prebuilt/git/bin:/prebuilt/genromfs/usr/bin:/prebuilt/kconfig-frontends/bin:/prebuilt/gcc-arm-none-eabi/bin:/prebuilt/pinguino-compilers/linux64/p32/bin:/prebuilt/riscv64-unknown-elf-gcc/bin:$PATH | ||
|
|
||
| CMD [ "/bin/bash" ] | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change Dockerfile to another specific name, because other people may add macOS or Windows dockerfile later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update it later.