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

Commit c7ce39c

Browse files
revise Dockerfile to reduce RUN chain
1 parent 91c3e6a commit c7ce39c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

‎Dockerfile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
FROM debian:jessie
2-
RUN apt-get update
3-
RUN apt-get install -y git
4-
RUN apt-get install -y vim
2+
RUN apt-get update && apt-get install -y \
3+
git \
4+
vim

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ Docker file to create image
6464
```
6565
> docker build -t smalltides/debian .
6666
> docker images
67+
> docker history smalltides/debian:latest
6768
```
6869

6970

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /