This repository was archived by the owner on Oct 13, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,6 +94,13 @@ raspbian-stretch: $(SOURCES)
9494 $(RUN )
9595 $(CHOWN ) -R $(shell id -u) :$(shell id -g) debbuild/$@
9696
97+ .PHONY : raspbian-buster
98+ raspbian-buster : # # build raspbian buster deb packages
99+ raspbian-buster : $(SOURCES )
100+ $(BUILD)
101+ $(RUN)
102+ $(CHOWN ) -R $(shell id -u) :$(shell id -g) debbuild/$@
103+
97104sources/engine.tgz :
98105 mkdir -p $(@D )
99106 docker run --rm -i -w /v \
Original file line number Diff line number Diff line change 1+ ARG GO_IMAGE
2+ ARG BUILD_IMAGE=resin/rpi-raspbian:stretch
3+ FROM ${GO_IMAGE} as golang
4+
5+ FROM ${BUILD_IMAGE}
6+
7+ RUN apt-get update && apt-get install -y curl devscripts equivs git
8+
9+ ARG GO_VERSION
10+ ENV GOPATH /go
11+ ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin
12+ ENV DOCKER_BUILDTAGS apparmor seccomp selinux
13+ ENV RUNC_BUILDTAGS apparmor seccomp selinux
14+
15+ ARG COMMON_FILES
16+ COPY ${COMMON_FILES} /root/build-deb/debian
17+ RUN mk-build-deps -t "apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends -y" -i /root/build-deb/debian/control
18+
19+ COPY sources/ /sources
20+
21+ ENV DISTRO raspbian
22+ ENV SUITE buster
23+
24+ COPY --from=golang /usr/local/go /usr/local/go
25+
26+ WORKDIR /root/build-deb
27+ COPY build-deb /root/build-deb/build-deb
28+
29+ ENTRYPOINT ["/root/build-deb/build-deb" ]
You can’t perform that action at this time.
0 commit comments