Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked fromTokTok/apidsl

Commite60f46f

Browse files
antis81iphydf
authored andcommitted
removes "sudo" in docker build instructions
We can assume the user is in the "docker" group - Docker default installation.
1 parent3f00bbb commite60f46f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎README.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,20 @@ grab a cup of coffee/tea in the meantime.
4848
git clone https://github.com/TokTok/apidsl
4949
cd apidsl
5050
# Build "apidsl" Docker image based on Dockerfile instructions
51-
sudodocker build -t apidsl.
51+
docker build -t apidsl.
5252
# Run the image, i.e. execute the CMD part of the Dockerfile, mounting the
5353
# current directory (the APIDSL repository) as /apidsl inside the image
54-
sudodocker run --rm -v$PWD:/apidsl apidsl
54+
docker run --rm -v$PWD:/apidsl apidsl
5555
# Make sure apigen.native has appeared in the current directory
5656
ls -lbh apigen.native
5757
# Copy it over to /usr/local/bin
5858
sudo cp ./apigen.native /usr/local/bin/
5959
# Delete the image we have built
60-
sudodocker rmi apidsl debian:jessie-slim
60+
docker rmi apidsl debian:jessie-slim
6161
# Make sure there are no containers or images left, as
6262
# they take a lot of disk space and are not needed anymore
63-
sudodocker ps -a
64-
sudodocker images -a
63+
docker ps -a
64+
docker images -a
6565
```
6666

6767
You should now have`/usr/local/bin/apigen.native`.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp