File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,8 +28,10 @@ RUN cd web && \
2828FROM --platform=linux/amd64 golang:1.25 AS go_builder
2929ARG TELEPORT_VERSION
3030
31- RUN apt-get update && apt-get install -y \
31+ RUN dpkg --add-architecture riscv64 && \
32+ apt-get update && apt-get install -y \
3233 git gcc-riscv64-linux-gnu libc6-dev-riscv64-cross \
34+ libpam0g-dev:riscv64 \
3335 && rm -rf /var/lib/apt/lists/*
3436
3537WORKDIR /teleport
@@ -42,7 +44,7 @@ COPY --from=webassets_builder /teleport/webassets/teleport ./webassets/teleport
4244# Cross-compile with CGO via riscv64-linux-gnu-gcc (no source patches)
4345RUN CC=riscv64-linux-gnu-gcc \
4446 CGO_ENABLED=1 GOOS=linux GOARCH=riscv64 \
45- go build -tags "webassets_embed" -ldflags '-w -s' -trimpath \
47+ go build -tags "webassets_embed pam " -ldflags '-w -s' -trimpath \
4648 -o build/teleport ./tool/teleport && \
4749 CC=riscv64-linux-gnu-gcc \
4850 CGO_ENABLED=1 GOOS=linux GOARCH=riscv64 \
You can’t perform that action at this time.
0 commit comments