mirror of
https://codeberg.org/JasterV/docker.git
synced 2026-04-26 18:10:02 +00:00
14 lines
505 B
Docker
14 lines
505 B
Docker
# Use Alpine for the smallest footprint
|
|
FROM public.ecr.aws/docker/library/alpine:latest
|
|
|
|
# Install dependencies for flyctl and general plugin usage
|
|
# ca-certificates is required for HTTPS requests to the Fly.io API
|
|
RUN apk add --no-cache ca-certificates curl bash
|
|
|
|
# Install flyctl
|
|
# This uses the official install script which detects architecture automatically
|
|
RUN curl -L https://fly.io/install.sh | sh
|
|
|
|
# 3. Add flyctl to the PATH
|
|
ENV FLYCTL_INSTALL="/root/.fly"
|
|
ENV PATH="$FLYCTL_INSTALL/bin:$PATH"
|