File tree 2 files changed +56
-0
lines changed
2 files changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ image :
2
+ file : docker/.gitpod.Dockerfile
3
+ github :
4
+ prebuilds :
5
+ # enable for the master/default branch (defaults to true)
6
+ master : true
7
+ # enable for all branches in this repo (defaults to false)
8
+ branches : false
9
+ # enable for pull requests coming from this repo (defaults to true)
10
+ pullRequests : false
11
+ # enable for pull requests coming from forks (defaults to false)
12
+ pullRequestsFromForks : false
13
+ # add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
14
+ addComment : true
15
+ # add a "Review in Gitpod" button to pull requests (defaults to false)
16
+ addBadge : false
17
+ # add a label once the prebuild is ready to pull requests (defaults to false)
18
+ addLabel : false # prebuilt-in-gitpod
Original file line number Diff line number Diff line change
1
+ FROM gitpod/workspace-full
2
+
3
+ ARG DEBIAN_FRONTEND=noninteractive
4
+ RUN apt-get update -qq \
5
+ && apt-get install -y \
6
+ # x86_64 / generic packages
7
+ bash \
8
+ build-essential \
9
+ cmake \
10
+ git \
11
+ make \
12
+ python3 \
13
+ python3-pip \
14
+ tar \
15
+ unzip \
16
+ wget \
17
+ # aarch64 packages
18
+ libffi-dev \
19
+ libssl-dev \
20
+ python3-dev \
21
+ && rm -rf /var/cache/apt/* /var/lib/apt/lists/*;
22
+
23
+ # Needs to be installed as root
24
+ RUN pip3 install adafruit-nrfutil
25
+
26
+ RUN sudo chown -R gitpod /opt
27
+
28
+ COPY docker/build.sh /opt/
29
+ # Lets get each in a separate docker layer for better downloads
30
+ # GCC
31
+ RUN bash -c "source /opt/build.sh; GetGcc;"
32
+ # NrfSdk
33
+ RUN bash -c "source /opt/build.sh; GetNrfSdk;"
34
+ # McuBoot
35
+ RUN bash -c "source /opt/build.sh; GetMcuBoot;"
36
+
37
+ # Link the default checkout workspace in to the default $SOURCES_DIR
38
+ RUN sudo ln -s /workspace/Pinetime /sources
You can’t perform that action at this time.
0 commit comments