Göktuğ Aşcı
11/22/2024, 8:03 AMGöktuğ Aşcı
11/22/2024, 8:23 AM➜ prefect-docorbit git:(main) ✗ kubectl logs -n prefect prefect-worker-84775bcc86-n24ms
exec /usr/bin/tini: exec format error
# Use the specified base image
FROM prefecthq/prefect:3.1.4-python3.12-kubernetes
# Install the required dependencies
RUN pip install --no-cache-dir \
prefect-dbt \
prefect-github \
prefect-gcp \
prefect-sqlalchemy \
"dbt-core>=1.8.0,<1.9.0" \
"dbt-postgres>=1.8.0,<1.9.0" \
"dbt-bigquery>=1.8.0,<1.9.0"
# Set the working directory
WORKDIR /opt/prefect
# Set the entrypoint to start the Prefect worker
ENTRYPOINT ["prefect", "worker", "start"]
# Set default command arguments (can be overridden at runtime)
CMD ["--pool", "kubernetes-pool-1"]
staticnotdynamic
11/23/2024, 12:03 PM/usr/bin/tini -g -- /opt/prefect/entrypoint.sh prefect worker start --with-healthcheck --pool pool-1
> exec /usr/bin/tini: exec format error
Are you running this image on ARM architecture ?Göktuğ Aşcı
11/23/2024, 6:34 PMstaticnotdynamic
11/23/2024, 6:51 PM