Skip to content

Commit ea5038f

Browse files
committed
build: dockerfileのビルドを追加
1 parent e037ef8 commit ea5038f

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# AlterISOをビルドするためのDockerfile
2+
3+
# Buildステージ
4+
FROM golang:1.22.3 AS build
5+
6+
WORKDIR /alteriso5
7+
8+
COPY ./alteriso5 .
9+
10+
RUN go mod download
11+
RUN go build -o alteriso5
12+
13+
# 実行ステージ
14+
# FROM archlinux:base-20240101.0.204074 AS run
15+
16+
# COPY --from=build /alteriso5/alteriso5 /usr/bin/alteriso5
17+
18+
# ENTRYPOINT ["/usr/bin/alteriso5"]
19+
20+
# CMD ["build", "./profile"]

0 commit comments

Comments
 (0)