4/8일자 완료 저장(delayed)

This commit is contained in:
2026-04-09 10:04:02 +09:00
parent 583b0b58d1
commit 05258d05a2
6 changed files with 43 additions and 2 deletions
Binary file not shown.
+5
View File
@@ -0,0 +1,5 @@
FROM ubuntu:latest
RUN mkdir /test && \
fallocate -l 100m /test/dummy && \
rm /test/dummy
+10
View File
@@ -0,0 +1,10 @@
FROM golang AS builder
WORKDIR /myapp
COPY helloworld.go .
RUN go env -w GO111MODULE=auto
RUN go build -o helloworld.exe .
FROM alpine AS runtime
WORKDIR /myapp
COPY --from=builder /myapp/helloworld.exe .
ENTRYPOINT ["./helloworld.exe"]
+7
View File
@@ -0,0 +1,7 @@
package main
import "fmt"
func main() {
fmt.Println("Hello World")
}
+8
View File
@@ -0,0 +1,8 @@
FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y install apache2
RUN echo "ServerName localhost" >> etc/apache2/apache2.conf
ADD hello.html /var/www/html/
CMD apachectl -D FOREGROUND
+11
View File
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Hello Docker !!!!</h1>
</body>
</html>