8000 Update Dockerfile · thebuck25/deploy-code-server@cde368f · GitHub
[go: up one dir, main page]

Skip to content

Commit cde368f

Browse files
authored
Update Dockerfile
1 parent 5a7e01d commit cde368f

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

Dockerfile

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Start from the code-server Debian base image
2-
FROM codercom/code-server:4.95.3
2+
FROM codercom/code-server:4.96.4
33

44
USER coder
55

@@ -81,16 +81,25 @@ RUN ls geist-font
8181
RUN pwd
8282

8383
# Install the fonts to the system fonts directory
84-
RUN sudo mkdir -p /usr/share/fonts/truetype/geist-font \
85-
&& sudo mv geist-font/GeistMono-1.4.01/ttf/*.ttf /usr/share/fonts/truetype/geist-font/ \
86-
&& sudo mv geist-font/GeistMono-1.4.01/variable/*.ttf /usr/share/fonts/truetype/geist-font/
84+
RUN sudo mkdir -p /usr/share/fonts/truetype/geist-font
85+
# \
86+
# && sudo cp ./geist-font/GeistMono-1.4.01/ttf/*.ttf /usr/share/fonts/truetype/geist-font/ \
87+
# && sudo cp ./geist-font/GeistMono-1.4.01/variable/*.ttf /usr/share/fonts/truetype/geist-font/
88+
RUN find geist-font/ -type f -name '*.ttf' -exec cp '{}' /usr/share/fonts/truetype/geist-font/ ';'
8789

8890
# Update the font cache
8991
RUN sudo fc-cache -fv
9092

9193
# Cleanup unnecessary files
9294
RUN sudo rm -rf geist-font.zip geist-font
9395

96+
# Install Terraform
97+
RUN sudo apt-get update && sudo apt-get install -y gnupg software-pro 6400 perties-common
98+
RUN wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg > /dev/null
99+
RUN echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
100+
RUN sudo apt update
101+
RUN sudo apt-get install terraform
102+
94103
# Copy files:
95104
COPY --chown=coder:coder .zshrc /home/coder/.zshrc
96105
COPY --chown=coder:coder .p10k.zsh /home/coder/.p10k.zsh

0 commit comments

Comments
 (0)
0