Skip to content

Commit 7769cb1

Browse files
authored
Merge pull request #5 from tech-thinker/develop-v1.2.0
Develop v1.2.0 optimization
2 parents 2e5bcbb + 75f3ead commit 7769cb1

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
FROM alpine:3.13
22
LABEL maintainer="Asif Mohammad Mollah <https://mrasif.in>"
3-
RUN apk update
4-
RUN apk add curl ca-certificates
3+
RUN apk --no-cache add curl ca-certificates
54
WORKDIR /script
65
COPY ./script.sh /script/
76
COPY ./curlrc /script/.curlrc

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ It will run script from any public url or local file.
99
### Using Docker:
1010
- Create `Dockerfile`
1111
```
12-
FROM techthinkerorg/script-runner:1.1.0
12+
FROM techthinkerorg/script-runner:1.2.0
1313
WORKDIR /script
1414
COPY ./your-script.sh /script/
1515
ENV SCRIPT_PATH "your-script.sh"
1616
```
1717
or
1818
```
19-
FROM techthinkerorg/script-runner:1.1.0
19+
FROM techthinkerorg/script-runner:1.2.0
2020
ENV SCRIPT_URL "script-location-url.sh"
2121
```
2222
- Run `docker build -f ./Dockerfile -t your-image-name .`
@@ -29,7 +29,7 @@ version: "3"
2929
services:
3030
script:
3131
container_name: script-runner
32-
image: techthinkerorg/script-runner:1.1.0
32+
image: techthinkerorg/script-runner:1.2.0
3333
environment:
3434
- SCRIPT_URL=script-location-url.sh
3535
```
@@ -51,7 +51,7 @@ spec:
5151
spec:
5252
containers:
5353
- name: your-deployment-cron
54-
image: techthinkerorg/script-runner:1.1.0
54+
image: techthinkerorg/script-runner:1.2.0
5555
env:
5656
- name: SCRIPT_URL
5757
value: "script-location-url.sh"

0 commit comments

Comments
 (0)