Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

Commit 92a9f51

Browse files
committed
Use latest tag in Sail FROM
1 parent ca75392 commit 92a9f51

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

.sail/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM codercom/ubuntu-dev-go
1+
FROM codercom/ubuntu-dev-go:latest
2+
23
RUN sudo apt-get install -y htop
34
LABEL project_root "~/go/src/go.coder.com"
45

project.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func (p *project) buildImage() (string, bool, error) {
158158
}
159159

160160
func fmtImage(img string) string {
161-
return fmt.Sprintf("codercom/ubuntu-dev-%s", img)
161+
return fmt.Sprintf("codercom/ubuntu-dev-%s:latest", img)
162162
}
163163

164164
// defaultRepoImage returns a base image suitable for development with the

site/content/docs/concepts/project-extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ In your Dockerfile, call `installext <extension ID>`.
1212
For example:
1313

1414
```Dockerfile
15-
FROM ubuntu-dev
15+
FROM codercom/ubuntu-dev:latest
1616
RUN installext vscodevim.vim
1717
```
1818

site/content/docs/concepts/projects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ For example, if your project has autotools as a dependency, you could install th
7979
project's `.sail/Dockerfile` like so:
8080

8181
```Dockerfile
82-
FROM codercom/ubuntu-dev
82+
FROM codercom/ubuntu-dev:latest
8383

8484
RUN apt-get update && apt-get install -y \
8585
autoconf \

site/content/docs/guides/adding-sail.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ For example:
3131

3232
```Dockerfile
3333
# Use a predefined language base.
34-
FROM codercom/ubuntu-dev-python3.7
34+
FROM codercom/ubuntu-dev-python3.7:latest
3535

3636
# Install some developer tooling to help out with system
3737
# and program monitoring.
@@ -50,4 +50,4 @@ LABEL share.app_cache "~/app/cache:~/app/cache"
5050
```
5151

5252
Sail will build your project's environment from this Dockerfile, allowing you to explicitly state
53-
your project's dependencies and configuration so that all developers are working in the same environment.
53+
your project's dependencies and configuration so that all developers are working in the same environment.

site/content/docs/guides/docker-in-docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ In order to setup a project with docker support, your project's `.sail/Dockerfil
1414
should look similar to this:
1515

1616
```Dockerfile
17-
FROM codercom/ubuntu-dev
17+
FROM codercom/ubuntu-dev:latest
1818

1919
# Share the host's docker socket with the Sail project so that you can
2020
# access it using the docker client.

0 commit comments

Comments
 (0)