File tree Expand file tree Collapse file tree 4 files changed +7
-13
lines changed Expand file tree Collapse file tree 4 files changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ RUN apt-get update && \
2424 libcurl4-openssl-dev \
2525 inetutils-ping \
2626 && rm -rf /var/lib/apt/lists/* \
27+ && c_rehash \
2728 && cd /tmp \
2829 && curl -sL https://www.kernel.org/pub/software/scm/git/git-${GIT_VERSION}.tar.gz -o git.tgz \
2930 && tar zxf git.tgz \
@@ -35,7 +36,7 @@ RUN apt-get update && \
3536 && rm -rf /tmp/git.tgz /tmp/git-${GIT_VERSION}
3637
3738RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - \
38- && add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/ubuntu $( lsb_release -cs) stable" \
39+ && [[ $(lsb_release -cs) == "eoan" ]] && ( add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/ubuntu disco stable" ) || ( add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/ubuntu $( lsb_release -cs) stable" ) \
3940 && apt-get update \
4041 && apt-get install -y docker-ce --no-install-recommends \
4142 && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ RUN apt-get update && \
1818 && rm -rf /var/lib/apt/lists/*
1919
2020RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - \
21- && add-apt-repository "deb [arch=amd64 ] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" \
21+ && add-apt-repository "deb [arch=$(dpkg --print-architecture) ] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" \
2222 && apt-get update \
2323 && apt-get install -y docker-ce --no-install-recommends \
2424 && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ RUN apt-get update && \
1818 && rm -rf /var/lib/apt/lists/*
1919
2020RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - \
21- && add-apt-repository "deb [arch=amd64 ] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" \
21+ && add-apt-repository "deb [arch=$(dpkg --print-architecture) ] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" \
2222 && apt-get update \
2323 && apt-get install -y docker-ce --no-install-recommends \
2424 && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -7,28 +7,21 @@ This has been tested and verified on:
77
88 * x86_64
99 * armhf
10+ * armv7
11+ * arm64
1012
1113## Examples ##
1214
1315Manual:
1416
15- ### X86_64 ###
16-
1717```
1818docker run -it \
1919 -e REPO_URL="https://github.com/myoung34/LEDSpicer" \
2020 -e RUNNER_TOKEN="footoken" \
2121 myoung34/github-runner:latest
2222```
2323
24- ### ARMHF (raspberry pi) ###
25-
26- ```
27- docker run -it \
28- -e REPO_URL="https://github.com/myoung34/LEDSpicer" \
29- -e RUNNER_TOKEN="footoken" \
30- myoung34/github-runner:latest-arm
31- ```
24+ Or as an alias:
3225
3326```
3427function run-server {
You can’t perform that action at this time.
0 commit comments