Skip to content

Commit

Permalink
docker(trancli/tran): update tran dockerfile, and upgrade release action
Browse files Browse the repository at this point in the history
  • Loading branch information
abdfnx committed Feb 12, 2022
1 parent bc89a3a commit 496a962
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ jobs:
username: ${{ secrets.DOCKER_ID }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}

- name: Build tran from Docker
run: |
task build
cp tran ./docker/vm
- name: Build Tran Containers
run: |
task build-tran-container
Expand Down
6 changes: 3 additions & 3 deletions docker/vm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:latest

RUN apk update && apk upgrade && apk add --no-cache ca-certificates curl
RUN apk update && apk upgrade && apk add --no-cache ca-certificates

RUN curl -sL https://cutt.ly/tran-cli | bash
COPY tran /usr/bin/tran

ENTRYPOINT ["/usr/local/bin/tran"]
ENTRYPOINT ["/usr/bin/tran"]

0 comments on commit 496a962

Please sign in to comment.