File tree Expand file tree Collapse file tree
.github/workflows/release Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- ARG UBUNTU_VERSION=18 .04
15+ ARG UBUNTU_VERSION=22 .04
1616ARG BASE_IMAGE=ubuntu:${UBUNTU_VERSION}
1717ARG GO_VERSION
1818ARG GO_IMAGE=golang:${GO_VERSION}
1919FROM --platform=$BUILDPLATFORM $GO_IMAGE AS go
20- FROM --platform=$BUILDPLATFORM tonistiigi/xx@sha256:425941eb25cc113009b1c651bd275e04593cea12c48311fe8ace6ceeecdcc645 AS xx
20+ FROM --platform=$BUILDPLATFORM tonistiigi/xx:1.1.0 @sha256:76a8510b1798f66fcc87e7ec2f4684aa1b16756df2a397ec307b9efb6023f6c5 AS xx
2121
2222FROM --platform=$BUILDPLATFORM ${BASE_IMAGE} AS base
2323COPY --from=xx / /
2424SHELL ["/bin/bash" , "-xec" ]
2525RUN apt-get update && \
26- apt-get install -y git pkg-config
26+ apt-get install -y dpkg-dev git make pkg-config
2727ARG TARGETPLATFORM
28- RUN xx-apt-get install -y libseccomp-dev btrfs-progs gcc
28+ RUN xx-apt-get install -y libseccomp-dev libbtrfs-dev gcc
2929ENV PATH=/usr/local/go/bin:$PATH
3030ENV GOPATH=/go
3131ENV CGO_ENABLED=1
You can’t perform that action at this time.
0 commit comments