## Description Uses alpine in the base docker images, to gain access to a shell within corso containers. ## Type of change - [x] 🌻 Feature ## Issue(s) * #573 ## Test Plan - [x] 💪 Manual - [ ] ⚡ Unit test - [ ] 💚 E2E
17 lines
323 B
Docker
17 lines
323 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
# This dockerfile is configured to be run by the /corso/build/build-container.sh
|
|
# script. Using docker to build this file directly will fail.
|
|
|
|
FROM alpine:3.16
|
|
|
|
WORKDIR /
|
|
|
|
ARG TARGETOS
|
|
ARG TARGETARCH
|
|
COPY ./bin/${TARGETOS}-${TARGETARCH}/corso ./
|
|
|
|
USER nonroot:nonroot
|
|
|
|
ENTRYPOINT ["/corso"]
|