mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-05-14 03:15:18 +00:00
bug: copy kairos agent during framework build (#933)
Currently is done during docker image but it makes no sense, it should be during framework otherwise framework images do not contain the binary Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
parent
22647b7a4e
commit
7c195374ae
@ -219,6 +219,8 @@ framework:
|
||||
|
||||
RUN go run -ldflags "${LDFLAGS}" ./cmd/profile-build/main.go ${FLAVOR} $REPOSITORIES_FILE /framework
|
||||
|
||||
# Copy kairos binaries
|
||||
COPY +build-kairos-agent/kairos-agent /framework/usr/bin/kairos-agent
|
||||
COPY +luet/luet /framework/usr/bin/luet
|
||||
|
||||
RUN luet cleanup --system-target /framework
|
||||
@ -283,8 +285,6 @@ docker:
|
||||
COPY overlay/files-ubuntu/ /
|
||||
END
|
||||
|
||||
# Copy kairos binaries
|
||||
COPY +build-kairos-agent/kairos-agent /usr/bin/kairos-agent
|
||||
# Enable services
|
||||
IF [ -f /sbin/openrc ]
|
||||
RUN mkdir -p /etc/runlevels/default && \
|
||||
|
Loading…
Reference in New Issue
Block a user