You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a docker/container image version which use boulder
and a standalone version which allows you to use other ACME server implementation like step-ca from Smallstep™. I think that we should also provide a standalone container image of labca (for arm and x86_64).
Why?
This will provide more flexibility to the project, which is always great!
Personally I wanted to run labca using step-ca in containers on an arm computer.
Smallstep is already providing a step-ca docker image (also for arm), so we lack a labca one.
Where we are now
The project's readme says that I can not run labca on Raspberry Pi, so I thought it has some problems with arm.
Fortunately this wasn't the case, because building (cross compiling) a static arm binary works flawlessly:
GOARCH=arm64 CGO_ENABLED=0 go build -o ../bin/labca-gui -a -ldflags '-extldflags "-static"'
Then I also tried building a very simple container image:
FROM golang as builder
RUN git clone https://github.com/hakwerk/labca.git
# Cross compiling for ARMRUN cd labca/gui && GOARCH=arm64 CGO_ENABLED=0 go build -o ../bin/labca-gui -a -ldflags '-extldflags "-static"'FROM alpine
COPY --from=builder /go/labca/bin/labca-gui /labca-gui
ENV HOME=/
ENTRYPOINT ["/labca-gui", "-config"]
Lastly I came up with this simple pod for local developing (tested only with podman):
In the end I think that providing a standalone container image of labca won't be too complicated because the main building blocks are already working, but do not hesitate to point me out if I made some mistakes.
The text was updated successfully, but these errors were encountered:
We have a docker/container image version which use
boulder
and a standalone version which allows you to use other ACME server implementation like
step-ca
from Smallstep™. I think that we should also provide a standalone container image oflabca
(for arm and x86_64).Why?
This will provide more flexibility to the project, which is always great!
Personally I wanted to run
labca
usingstep-ca
in containers on an arm computer.Smallstep is already providing a
step-ca
docker image (also for arm), so we lack alabca
one.Where we are now
The project's readme says that I can not run
labca
on Raspberry Pi, so I thought it has some problems with arm.Fortunately this wasn't the case, because building (cross compiling) a static arm binary works flawlessly:
GOARCH=arm64 CGO_ENABLED=0 go build -o ../bin/labca-gui -a -ldflags '-extldflags "-static"'
Then I also tried building a very simple container image:
Lastly I came up with this simple pod for local developing (tested only with podman):
If needed this is my testing
config.json
that I used forstep-ca
:In the end I think that providing a standalone container image of
labca
won't be too complicated because the main building blocks are already working, but do not hesitate to point me out if I made some mistakes.The text was updated successfully, but these errors were encountered: