Commit 6f35e5b 1 parent 1e1b2b0 commit 6f35e5b Copy full SHA for 6f35e5b
File tree 3 files changed +9
-4
lines changed
3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 38
38
runs-on : ubuntu-latest
39
39
needs : lint
40
40
steps :
41
+ - name : Setup Podman
42
+ run : |
43
+ sudo apt update
44
+ sudo apt-get -y install podman
45
+
41
46
- name : Checkout
42
47
uses : actions/checkout@v2.3.4
43
48
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ readonly NODE_IMAGE=$(
35
35
fi
36
36
)
37
37
38
- buildah build --layers --force-rm \
38
+ podman build --force-rm \
39
39
--os " linux" \
40
40
--arch " ${ARCH} " \
41
41
--build-arg ARCH=" ${ARCH} " \
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ function setup() {
95
95
podman network create -d bridge --internal " ${NET_BLOCKED} "
96
96
97
97
# Target service.
98
- buildah build --force-rm -t " ${TARGET_IMAGE} " ./target
98
+ podman build --force-rm -t " ${TARGET_IMAGE} " ./target
99
99
podman run -d --rm -p " 10080:80" --network=" ${NET_OPEN} " --network-alias=" target" --name=" ${TARGET_CONTAINER} " " ${TARGET_IMAGE} "
100
100
101
101
# Shadowsocks service.
@@ -121,12 +121,12 @@ function setup() {
121
121
podman network connect " ${NET_OPEN} " " ${SHADOWBOX_CONTAINER} "
122
122
123
123
# Client service.
124
- buildah build --force-rm -t " ${CLIENT_IMAGE} " ./client
124
+ podman build --force-rm -t " ${CLIENT_IMAGE} " ./client
125
125
# Use -i to keep the container running.
126
126
podman run -d --rm -it -p " 30555:555" --network " ${NET_BLOCKED} " --name " ${CLIENT_CONTAINER} " " ${CLIENT_IMAGE} "
127
127
128
128
# Util service.
129
- buildah build --force-rm -t " ${UTIL_IMAGE} " ./util
129
+ podman build --force-rm -t " ${UTIL_IMAGE} " ./util
130
130
# Use -i to keep the container running.
131
131
podman run -d --rm -it --network none --name " ${UTIL_CONTAINER} " " ${UTIL_IMAGE} "
132
132
}
You can’t perform that action at this time.
0 commit comments