Skip to content

Add configuration to allow for aarch64 hosts in Dockerfile #265

@Zacharias

Description

@Zacharias

Spruce is pulled in to the Dockerfile as a binary dependency. It is used in entrypoint.sh to merge configuration files to control the behavior of scytale.

It's sourcing can be seen here:

# https://github.com/xmidt-org/scytale/blob/main/Dockerfile#L21
# Download spruce here to eliminate the need for curl in the final image
RUN mkdir -p /go/bin && \
    curl -L -o /go/bin/spruce https://github.com/geofffranks/spruce/releases/download/v1.29.0/spruce-linux-amd64 && \
    chmod +x /go/bin/spruce

Since we want the ability to build and run scrytale on a variety of processor architectures, we need to find a way to get a processor-architecture-specific copy of spruce installed. This could added by adding configuration around processor architectures, or alternatively building spruce from source and including it in the dockerfile.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions