File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 11FROM alpine/git:latest
22# Install GitHub CLI
3- RUN mkdir /ghcli && \
4- cd /ghcli && \
5- wget http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/github-cli-1.3.1-r0.apk && \
6- apk update && \
7- apk add --allow-untrusted github-cli-1.3.1-r0.apk
3+ RUN apk update && \
4+ apk add --no-cache libc6-compat
5+ RUN mkdir ghcli && cd ghcli && \
6+ wget https://github.com/cli/cli/releases/download/v1.5.0/gh_1.5.0_linux_386.tar.gz -O ghcli.tar.gz --no-check-certificate && \
7+ tar --strip-components=1 -xf ghcli.tar.gz -C /usr/local
88
99# Copies your code file from your action repository to the filesystem path `/` of the container
1010COPY entrypoint.sh /home/entrypoint.sh
Original file line number Diff line number Diff line change 11# TODO change to alpine
2- FROM ubuntu:18.04
2+ FROM alpine/git:latest
33
44# Install GitHub CLI
5- RUN apt-get update && \
6- apt-get install -y --no-install-recommends git wget
7- RUN wget https://github.com/cli/cli/releases/download/v1.0.0/gh_1.0.0_linux_386.tar.gz -O ghcli.tar.gz --no-check-certificate && \
8- tar --strip-components=1 -xf ghcli.tar.gz
5+ RUN apk update && \
6+ apk add --no-cache libc6-compat
7+ RUN mkdir ghcli && cd ghcli && \
8+ wget https://github.com/cli/cli/releases/download/v1.5.0/gh_1.5.0_linux_386.tar.gz -O ghcli.tar.gz --no-check-certificate && \
9+ tar --strip-components=1 -xf ghcli.tar.gz -C /usr/local
910
1011# Copies your code file from your action repository to the filesystem path `/` of the container
1112COPY entrypoint.sh /home/entrypoint.sh
You can’t perform that action at this time.
0 commit comments