summaryrefslogtreecommitdiff
path: root/docker/README.md
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2022-11-05 21:26:34 +0900
committerRyo Nakamura <upa@haeena.net>2022-11-05 21:26:34 +0900
commitfc56c53d04d7e499a91d0526842a6072477ddb96 (patch)
tree3675ef7d3b2f904b843f1c969b0f9b110c458724 /docker/README.md
parent6e6e5066c7ad83ad2daf8f8ccbe7231211e41c97 (diff)
add install-build-deps.sh and fix docker build procedure
Diffstat (limited to 'docker/README.md')
-rw-r--r--docker/README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/docker/README.md b/docker/README.md
index 07279c3..872d73f 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -2,15 +2,17 @@
Build `mscp` in docker containers.
```console
-docker build -t mscp-ubuntu:20.04 -f Dockerfile-ubuntu-20.04 .
+cd ..
+
+docker build -t mscp-ubuntu:20.04 -f docker/Dockerfile-ubuntu-20.04 .
docker run -it --rm -v (pwd):/out mscp-ubuntu:20.04 \
cp /mscp/build/mscp_0.0.0-ubuntu-20.04-x86_64.deb /out/
-docker build -t mscp-ubuntu:22.04 -f Dockerfile-ubuntu-22.04 .
+docker build -t mscp-ubuntu:22.04 -f docker/Dockerfile-ubuntu-22.04 .
docker run -it --rm -v (pwd):/out mscp-ubuntu:22.04 \
cp /mscp/build/mscp_0.0.0-ubuntu-22.04-x86_64.deb /out/
-docker build -t mscp-centos:8 -f Dockerfile-centos-8 .
+docker build -t mscp-centos:8 -f docker/Dockerfile-centos-8 .
docker run -it --rm -v (pwd):/out mscp-centos:8 \
cp /mscp/build/mscp_0.0.0-centos-8-x86_64.rpm /out/
```