Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit deee949

Browse files
authored
Revert "fix: install openrc service on alpine (coder#12294) (coder#12870)" (coder#13178)
This reverts commit b20c63c.
1 parent 619ec92 commit deee949

File tree

4 files changed

+1
-114
lines changed

4 files changed

+1
-114
lines changed

scripts/linux-pkg/coder-openrc

-38
This file was deleted.

scripts/linux-pkg/coder-workspace-proxy-openrc

-39
This file was deleted.

scripts/linux-pkg/nfpm-alpine.yaml

-29
This file was deleted.

scripts/package.sh

+1-8
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,9 @@ ln "$(realpath scripts/linux-pkg/nfpm.yaml)" "$temp_dir/"
9090
ln "$(realpath scripts/linux-pkg/nfpm-alpine.yaml)" "$temp_dir/"
9191
ln "$(realpath scripts/linux-pkg/preinstall.sh)" "$temp_dir/"
9292

93-
nfpm_config_file="nfpm.yaml"
94-
95-
# Use nfpm-alpine.yaml when building for Alpine (OpenRC).
96-
if [[ "$format" == "apk" ]]; then
97-
nfpm_config_file="nfpm-alpine.yaml"
98-
fi
99-
10093
pushd "$temp_dir"
10194
GOARCH="$arch" CODER_VERSION="$version" nfpm package \
102-
-f "$nfpm_config_file" \
95+
-f nfpm.yaml \
10396
-p "$format" \
10497
-t "$output_path" \
10598
1>&2

0 commit comments

Comments
 (0)