Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Dockerfile for use with raspberry 64bit #149

Open
skara opened this issue Sep 11, 2021 · 0 comments
Open

Dockerfile for use with raspberry 64bit #149

skara opened this issue Sep 11, 2021 · 0 comments

Comments

@skara
Copy link

skara commented Sep 11, 2021

Tried to get docui running on raspberry pi 64bit
To build it directly via docker you may use following:

# build docui
FROM golang:1.16.0 AS build-docui
ENV GOOS linux
ENV GOARCH=arm
ENV GOARM=7
ENV CGO_ENABLED 0
COPY . ./src/github.com/skanehira/docui
WORKDIR /go/src/github.com/skanehira/docui
RUN go build

# copy artifact from the build stage
FROM busybox:1.33
ENV TERM "xterm-256color"
COPY --from=build-docui /go/src/github.com/skanehira/docui/docui /usr/local/bin/docui

ENTRYPOINT ["docui"]```

Maybe someone could do a multiarch Dockerfile 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant