fix exec permission not set in railway-cli docker image (#531)

Update Dockerfile
This commit is contained in:
Daniel 2024-08-14 17:46:58 +00:00 committed by GitHub
parent 4e02b582ce
commit e650213139
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,7 @@
# This dockerfile is meant to be used in publish-docker.yml workflow which reuses artifacts created by release.yml
# This way we can avoid rebuilding the CLI specifically for docker
FROM alpine:3.20
COPY ./railway /usr/bin/railway
RUN test -f /usr/bin/railway
# binary should be retrieved by download-artifact action by this point
COPY --chmod=755 ./railway /usr/bin/railway