Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save iworkforthem/713847b2230b3493c821220354cb3336 to your computer and use it in GitHub Desktop.

Select an option

Save iworkforthem/713847b2230b3493c821220354cb3336 to your computer and use it in GitHub Desktop.
FROM alpine:latest
RUN apk add --no-cache ca-certificates curl tar
WORKDIR /app
# Download the correct arm64 tar.gz, extract, and set permissions
RUN curl -L -o picoclaw.tar.gz \
https://github.com/sipeed/picoclaw/releases/latest/download/picoclaw_Linux_arm64.tar.gz && \
tar -xzf picoclaw.tar.gz && \
rm picoclaw.tar.gz && \
chmod +x picoclaw && \
ls -la # for debugging
EXPOSE 18800
CMD ["./picoclaw"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment