File tree 4 files changed +13
-8
lines changed 4 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ This repository contains example images for use with [Coder](https://coder.com/d
4
4
5
5
- ` enterprise-base ` : Contains an example image that can be used as a base for
6
6
other images.
7
- - ` enterprise-minimal ` : Contains a minimal image that contians only the required
7
+ - ` enterprise-minimal ` : Contains a minimal image that contains only the required
8
8
utilities for a Coder workspace to bootstrap successfully.
9
9
10
10
## Images on Docker Hub
Original file line number Diff line number Diff line change 1
- deb [signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu jammy stable
1
+ deb [signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu noble stable
Original file line number Diff line number Diff line change 1
- FROM ubuntu:22.04
1
+ FROM ubuntu:noble
2
2
3
3
SHELL ["/bin/bash" , "-c" ]
4
4
ENV DEBIAN_FRONTEND=noninteractive
@@ -51,8 +51,9 @@ RUN ln -s /usr/libexec/docker/cli-plugins/docker-compose /usr/bin/docker-compose
51
51
# Make typing unicode characters in the terminal work.
52
52
ENV LANG=en_US.UTF-8
53
53
54
- # Add a user `coder` so that you're not developing as the `root` user
55
- RUN useradd coder \
54
+ # Remove the `ubuntu` user and add a user `coder` so that you're not developing as the `root` user
55
+ RUN userdel -r ubuntu && \
56
+ useradd coder \
56
57
--create-home \
57
58
--shell=/bin/bash \
58
59
--groups=docker \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:22.04
1
+ FROM ubuntu:noble
2
2
3
3
USER root
4
4
ENV DEBIAN_FRONTEND=noninteractive
@@ -12,12 +12,16 @@ RUN apt-get update && \
12
12
sudo \
13
13
&& rm -rf /var/lib/apt/lists/*
14
14
15
- RUN useradd coder \
15
+ # Make typing unicode characters in the terminal work.
16
+ ENV LANG=en_US.UTF-8
17
+ # Remove the `ubuntu` user and add a user `coder` so that you're not developing as the `root` user
18
+ RUN userdel -r ubuntu && \
19
+ useradd coder \
16
20
--create-home \
17
21
--shell=/bin/bash \
22
+ --groups=docker \
18
23
--uid=1000 \
19
24
--user-group && \
20
25
echo "coder ALL=(ALL) NOPASSWD:ALL" >>/etc/sudoers.d/nopasswd
21
26
22
- ENV LANG=en_US.UTF-8
23
27
USER coder
You can’t perform that action at this time.
0 commit comments