Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The correct fix to the broken builds (switch to debian:sid-slim - it supports riscv64 now) #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# Use carlosedp/golang for riscv64 support
FROM carlosedp/golang:1.18 AS build
FROM debian:sid-slim AS build

# Install dependencies
RUN apt-get update && apt-get install -y git build-essential libsecret-1-dev
RUN apt-get update && apt-get install -y git golang build-essential libsecret-1-dev

# Build
WORKDIR /build/
COPY build.sh VERSION /build/
RUN bash build.sh

FROM ubuntu:jammy
FROM debian:sid-slim
LABEL maintainer="Xiaonan Shen <s@sxn.dev>"

EXPOSE 25/tcp
Expand Down
2 changes: 1 addition & 1 deletion deb/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:jammy
FROM debian:sid-slim
LABEL maintainer="Xiaonan Shen <s@sxn.dev>"

EXPOSE 25/tcp
Expand Down