File tree Expand file tree Collapse file tree 6 files changed +23
-20
lines changed Expand file tree Collapse file tree 6 files changed +23
-20
lines changed Original file line number Diff line number Diff line change 30
30
push : true
31
31
platforms : linux/amd64,linux/arm64
32
32
file : ./server/Dockerfile
33
- tags : sstc/gocron :server
33
+ tags : sstc/gocron2 :server
34
34
- uses : actions/checkout@v4
35
35
- uses : christian-korneck/update-container-description-action@v1
36
36
env :
Original file line number Diff line number Diff line change 1
- FROM alpine:3.7 AS builder
1
+ FROM alpine:3.20 AS builder
2
2
3
3
ENV GOCRON2_VERSION=1.6.2
4
4
ENV GOCRON2_REPO_BASEURL=https://github.com/up9cloud/gocron2
@@ -15,5 +15,6 @@ RUN set -ex; \
15
15
tar zvxf ${GOCRON2_DOWNLOAD_FILE}; \
16
16
wget ${GOCRON2_NODE_DOWNLOAD_URL}; \
17
17
tar zvxf ${GOCRON2_NODE_DOWNLOAD_FILE}; \
18
- wget ${CERTSTRAP_DOWNLOAD_URL} -o certstrap; \
19
- chmod +x certstrap
18
+ wget ${CERTSTRAP_DOWNLOAD_URL} -O certstrap; \
19
+ chmod +x certstrap; \
20
+ chown -R root:root .
Original file line number Diff line number Diff line change @@ -12,17 +12,17 @@ RUN set -ex; \
12
12
jq \
13
13
; \
14
14
# In the mean time, install all popular scripting languages
15
- curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -; \
15
+ # curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -; \
16
16
DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y \
17
- nodejs \
18
- npm \
17
+ # nodejs \
18
+ # npm \
19
19
php \
20
20
ruby \
21
21
lua5.4 \
22
22
; \
23
23
bash --version; \
24
24
perl --version; \
25
- python2 --version; \
25
+ # python2 --version; \
26
26
python3 --version; \
27
27
node -v; \
28
28
npm -v; \
Original file line number Diff line number Diff line change 1
- FROM alpine:3.7 AS builder
1
+ FROM alpine:3.20 AS builder
2
2
3
3
ENV GOCRON2_VERSION=1.6.2
4
4
ENV GOCRON2_REPO_BASEURL=https://github.com/up9cloud/gocron2
@@ -15,8 +15,9 @@ RUN set -ex; \
15
15
tar zvxf ${GOCRON2_DOWNLOAD_FILE}; \
16
16
wget ${GOCRON2_NODE_DOWNLOAD_URL}; \
17
17
tar zvxf ${GOCRON2_NODE_DOWNLOAD_FILE}; \
18
- wget ${CERTSTRAP_DOWNLOAD_URL} -o certstrap; \
19
- chmod +x certstrap
18
+ wget ${CERTSTRAP_DOWNLOAD_URL} -O certstrap; \
19
+ chmod +x certstrap; \
20
+ chown -R root:root .
20
21
21
22
FROM sstc/headful-chromium:ubuntu-24
22
23
RUN set -ex; \
@@ -30,17 +31,17 @@ RUN set -ex; \
30
31
jq \
31
32
; \
32
33
# In the mean time, install all popular scripting languages
33
- curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -; \
34
+ # curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -; \
34
35
DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y \
35
- nodejs \
36
- npm \
36
+ # nodejs \
37
+ # npm \
37
38
php \
38
39
ruby \
39
40
lua5.4 \
40
41
; \
41
42
bash --version; \
42
43
perl --version; \
43
- python2 --version; \
44
+ # python2 --version; \
44
45
python3 --version; \
45
46
node -v; \
46
47
npm -v; \
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- ./gocron web &
4
- ./gocron -node -allow-root &
3
+ ./gocron2 web &
4
+ ./gocron2 -node -allow-root &
5
5
wait -n
6
6
exit $?
Original file line number Diff line number Diff line change 1
- FROM alpine:3.7 AS builder
1
+ FROM alpine:3.20 AS builder
2
2
3
3
ENV GOCRON2_VERSION=1.6.2
4
4
ENV GOCRON2_REPO_BASEURL=https://github.com/up9cloud/gocron2
@@ -15,8 +15,9 @@ RUN set -ex; \
15
15
tar zvxf ${GOCRON2_DOWNLOAD_FILE}; \
16
16
wget ${GOCRON2_NODE_DOWNLOAD_URL}; \
17
17
tar zvxf ${GOCRON2_NODE_DOWNLOAD_FILE}; \
18
- wget ${CERTSTRAP_DOWNLOAD_URL} -o certstrap; \
19
- chmod +x certstrap
18
+ wget ${CERTSTRAP_DOWNLOAD_URL} -O certstrap; \
19
+ chmod +x certstrap; \
20
+ chown -R root:root .
20
21
21
22
FROM scratch
22
23
You can’t perform that action at this time.
0 commit comments