Skip to content

Commit 538372e

Browse files
authored
Fix an unknow issue cause by /usr/bin path (#142)
1 parent 37719ad commit 538372e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
FROM alpine:3.10
22

3-
COPY hd /usr/bin/hd
3+
COPY hd /usr/local/bin/hd
4+
RUN hd fetch
45

56
CMD ["hd"]

README-zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ hd get --pre ks
5454
你想要在 Docker 构建中下载工具吗?这个很容易的,请查看下面的例子:
5555
5656
```dockerfile
57-
FROM ghcr.io/linuxsuren/hd:v0.0.40 as downloader
57+
FROM ghcr.io/linuxsuren/hd:v0.0.42 as downloader
5858
RUN hd install kubesphere-sigs/[email protected]
5959
6060
FROM alpine:3.10

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ then you can search it by a keyword: `hd search jenkins`
5858
Do you want to download tools in the Docker builds? It's pretty easy. Please see the following example:
5959

6060
```dockerfile
61-
FROM ghcr.io/linuxsuren/hd:v0.0.40 as downloader
61+
FROM ghcr.io/linuxsuren/hd:v0.0.42 as downloader
6262
RUN hd install kubesphere-sigs/[email protected]
6363

6464
FROM alpine:3.10

0 commit comments

Comments
 (0)