This repository has been archived by the owner on Oct 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #140 from seemethere/deb_new
Merged with https://github.com/seemethere/unir Upstream-commit: ecfdd4c Component: packaging
- Loading branch information
Showing
36 changed files
with
344 additions
and
694 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -3,3 +3,4 @@ debbuild | |
rpmbuild | ||
tmp | ||
artifacts | ||
sources |
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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,32 @@ | ||
ARG GO_IMAGE | ||
FROM ${GO_IMAGE} as golang | ||
|
||
FROM debian:buster | ||
|
||
RUN apt-get update && apt-get install -y curl devscripts equivs git | ||
|
||
ARG GO_VERSION | ||
ENV GOPATH /go | ||
ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin | ||
ENV DOCKER_BUILDTAGS apparmor pkcs11 seccomp selinux | ||
ENV RUNC_BUILDTAGS apparmor seccomp selinux | ||
|
||
COPY common/ /root/build-deb/debian | ||
RUN mk-build-deps -t "apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends -y" -i /root/build-deb/debian/control | ||
|
||
# Copy our sources and untar them | ||
COPY sources/ /sources | ||
RUN mkdir -p /go/src/github.com/docker/ && tar -xzf /sources/cli.tgz -C /go/src/github.com/docker/ | ||
RUN mkdir -p /go/src/github.com/crosbymichael && tar -xzf /sources/containerd-proxy.tgz -C /go/src/github.com/crosbymichael | ||
|
||
RUN ln -snf /go/src/github.com/docker/cli /root/build-deb/cli | ||
|
||
ENV DISTRO debian | ||
ENV SUITE buster | ||
|
||
COPY --from=golang /usr/local/go /usr/local/go | ||
|
||
WORKDIR /root/build-deb | ||
COPY build-deb /root/build-deb/build-deb | ||
|
||
ENTRYPOINT ["/root/build-deb/build-deb"] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.