Skip to content

Commit 07e986a

Browse files
committed
create httpd based on Alpine Linux
1 parent 1c2f6d5 commit 07e986a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/publish.yml

+15
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,21 @@ jobs:
6666
context: .
6767
push: true
6868
tags: ghcr.io/hermit-os/httpd:latest
69+
- name: Create dockerfile for httpd (alpine)
70+
run: |
71+
cat << END > Dockerfile
72+
FROM ghcr.io/hermit-os/hermit_env_alpine:latest
73+
COPY hermit-loader-x86_64 hermit/hermit-loader
74+
COPY hermit-loader-x86_64-fc hermit/hermit-loader-fc
75+
COPY httpd hermit/httpd
76+
CMD ["/hermit/httpd"]
77+
END
78+
- name: Build and push container
79+
uses: docker/build-push-action@v6
80+
with:
81+
context: .
82+
push: true
83+
tags: ghcr.io/hermit-os/httpd_alpine:latest
6984
- name: Build webserver
7085
run: cargo build -Zbuild-std=std,panic_abort --target x86_64-unknown-hermit -p webserver --features hermit/dhcpv4,hermit/fs --release
7186
- name: Copy webserver out of target dir

0 commit comments

Comments
 (0)