Skip to content

Commit 0e56e4f

Browse files
committed
release/Dockerfile: update Ubuntu to 22.04 for supporting riscv64
Also update xx to 1.1.0 Signed-off-by: Akihiro Suda <[email protected]>
1 parent 4b412b8 commit 0e56e4f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@
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
1616
ARG BASE_IMAGE=ubuntu:${UBUNTU_VERSION}
1717
ARG GO_VERSION
1818
ARG GO_IMAGE=golang:${GO_VERSION}
1919
FROM --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

2222
FROM --platform=$BUILDPLATFORM ${BASE_IMAGE} AS base
2323
COPY --from=xx / /
2424
SHELL ["/bin/bash", "-xec"]
2525
RUN apt-get update && \
26-
apt-get install -y git pkg-config
26+
apt-get install -y dpkg-dev git make pkg-config
2727
ARG 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
2929
ENV PATH=/usr/local/go/bin:$PATH
3030
ENV GOPATH=/go
3131
ENV CGO_ENABLED=1

0 commit comments

Comments
 (0)