File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
44USER coder
55
@@ -81,16 +81,25 @@ RUN ls geist-font
8181RUN 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
8991RUN sudo fc-cache -fv
9092
9193# Cleanup unnecessary files
9294RUN 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-properties-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:
95104COPY --chown=coder:coder .zshrc /home/coder/.zshrc
96105COPY --chown=coder:coder .p10k.zsh /home/coder/.p10k.zsh
You can’t perform that action at this time.
0 commit comments