Fix docker syntax error on Github action

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2025-07-11 11:06:10 +02:00
parent 3cd7b71b83
commit 7204d25c61

View File

@@ -1,23 +1,16 @@
# syntax=docker/dockerfile:1
FROM ubuntu:24.04
LABEL org.opencontainers.image.source="https://github.com/getprobo/probo"
LABEL org.opencontainers.image.licenses="MIT"
LABEL org.opencontainers.image.vendor="Probo Inc"
WORKDIR /app
# Install dependencies and create user
RUN useradd -m probo && \
apt-get update && \
apt-get upgrade -y && \
apt-get install -y ca-certificates && \
rm -rf /var/lib/apt/lists/*
# Copy the architecture-specific pre-built binary from GoReleaser
COPY probod /usr/local/bin/probod
# Ensure the binary is executable
RUN chmod +x /usr/local/bin/probod
USER probo