Skip to content

Commit

Permalink
chore: add deprecation notices
Browse files Browse the repository at this point in the history
  • Loading branch information
johnstcn committed Dec 18, 2023
1 parent a4c3fc3 commit 7da267f
Show file tree
Hide file tree
Showing 32 changed files with 146 additions and 0 deletions.
2 changes: 2 additions & 0 deletions images/android/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,7 @@ RUN add-apt-repository ppa:maarten-fonville/android-studio && \
apt install -y android-studio && \
ln -s /opt/android-studio/bin/studio.sh /usr/local/bin/studio

COPY deprecated.txt /etc/motd

# Set back to coder user
USER coder
7 changes: 7 additions & 0 deletions images/android/deprecated.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
##############################################################
# DEPRECATED: this image is no longer updated. #
# Please migrate to codercom/enterprise-base:ubuntu #
# or build a custom image FROM it. #
# For more information see: #
# https://github.com/coder/enterprise-images/issue/238 #
##############################################################
2 changes: 2 additions & 0 deletions images/clion/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ RUN curl -L "https://download.jetbrains.com/product?code=CL&latest&distribution=
# Add a binary to the PATH that points to the clion startup script.
RUN ln -s /opt/clion/bin/clion.sh /usr/bin/clion

COPY deprecated.txt /etc/motd

# Set back to coder user
USER coder
7 changes: 7 additions & 0 deletions images/clion/deprecated.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
##############################################################
# DEPRECATED: this image is no longer updated. #
# Please migrate to codercom/enterprise-base:ubuntu #
# or build a custom image FROM it. #
# For more information see: #
# https://github.com/coder/enterprise-images/issue/238 #
##############################################################
4 changes: 4 additions & 0 deletions images/configure/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
FROM codercom/enterprise-base:ubuntu

COPY [ "configure", "/coder/configure" ]

USER root
COPY deprecated.txt /etc/motd
USER coder
7 changes: 7 additions & 0 deletions images/configure/deprecated.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
##############################################################
# DEPRECATED: this image is no longer updated. #
# Please migrate to codercom/enterprise-base:ubuntu #
# or build a custom image FROM it. #
# For more information see: #
# https://github.com/coder/enterprise-images/issue/238 #
##############################################################
2 changes: 2 additions & 0 deletions images/dataSpell/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ RUN curl -L "https://download-cdn.jetbrains.com/python/dataspell-2021.3.3.tar.gz
# Add a binary to the PATH that points to the pycharm startup script.
RUN ln -s /opt/dataspell/bin/dataspell.sh /usr/bin/dataspell

COPY deprecated.txt /etc/motd

# Set back to coder user
USER coder
7 changes: 7 additions & 0 deletions images/dataSpell/deprecated.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
##############################################################
# DEPRECATED: this image is no longer updated. #
# Please migrate to codercom/enterprise-base:ubuntu #
# or build a custom image FROM it. #
# For more information see: #
# https://github.com/coder/enterprise-images/issue/238 #
##############################################################
2 changes: 2 additions & 0 deletions images/goland/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@ RUN curl -L "https://download.jetbrains.com/product?code=GO&latest&distribution=
# Add a binary to the PATH that points to the goland startup script.
RUN ln -s /opt/goland/bin/goland.sh /usr/bin/goland

COPY deprecated.txt /etc/motd

# Set back to coder user
USER coder
7 changes: 7 additions & 0 deletions images/goland/deprecated.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
##############################################################
# DEPRECATED: this image is no longer updated. #
# Please migrate to codercom/enterprise-base:ubuntu #
# or build a custom image FROM it. #
# For more information see: #
# https://github.com/coder/enterprise-images/issue/238 #
##############################################################
2 changes: 2 additions & 0 deletions images/golang/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ ENV GOPATH /home/coder/go
ENV GOBIN $GOPATH/bin
ENV PATH $PATH:$GOBIN

COPY deprecated.txt /etc/motd

# Set back to coder user
USER coder
7 changes: 7 additions & 0 deletions images/golang/deprecated.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
##############################################################
# DEPRECATED: this image is no longer updated. #
# Please migrate to codercom/enterprise-base:ubuntu #
# or build a custom image FROM it. #
# For more information see: #
# https://github.com/coder/enterprise-images/issue/238 #
##############################################################
2 changes: 2 additions & 0 deletions images/intellij/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@ RUN curl -L "https://download.jetbrains.com/product?code=IIC&latest&distribution
# Add a binary to the PATH that points to the intellij startup script.
RUN ln -s /opt/idea/bin/idea.sh /usr/bin/intellij-idea-community

COPY deprecated.txt /etc/motd

# Set back to coder user
USER coder
7 changes: 7 additions & 0 deletions images/intellij/deprecated.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
##############################################################
# DEPRECATED: this image is no longer updated. #
# Please migrate to codercom/enterprise-base:ubuntu #
# or build a custom image FROM it. #
# For more information see: #
# https://github.com/coder/enterprise-images/issue/238 #
##############################################################
2 changes: 2 additions & 0 deletions images/java/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,7 @@ RUN mkdir -p /usr/share/gradle /usr/share/gradle/ref \

ENV PATH $PATH:$GRADLE_HOME/bin

COPY deprecated.txt /etc/motd

# Set back to coder user
USER coder
7 changes: 7 additions & 0 deletions images/java/deprecated.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
##############################################################
# DEPRECATED: this image is no longer updated. #
# Please migrate to codercom/enterprise-base:ubuntu #
# or build a custom image FROM it. #
# For more information see: #
# https://github.com/coder/enterprise-images/issue/238 #
##############################################################
2 changes: 2 additions & 0 deletions images/jupyter/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ RUN pip3 install jupyterlab==3.5.2 && \
pip3 install jupyter-core==5.1.3 && \
pip3 install notebook==6.5.2

COPY deprecated.txt /etc/motd

# Set back to coder user
USER coder
7 changes: 7 additions & 0 deletions images/jupyter/deprecated.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
##############################################################
# DEPRECATED: this image is no longer updated. #
# Please migrate to codercom/enterprise-base:ubuntu #
# or build a custom image FROM it. #
# For more information see: #
# https://github.com/coder/enterprise-images/issue/238 #
##############################################################
2 changes: 2 additions & 0 deletions images/multieditor/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ RUN DEBIAN_FRONTEND="noninteractive" apt-get update -y && \
libxi6 \
libgtk-3-0

COPY deprecated.txt /etc/motd

# Set back to coder user
USER coder
7 changes: 7 additions & 0 deletions images/multieditor/deprecated.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
##############################################################
# DEPRECATED: this image is no longer updated. #
# Please migrate to codercom/enterprise-base:ubuntu #
# or build a custom image FROM it. #
# For more information see: #
# https://github.com/coder/enterprise-images/issue/238 #
##############################################################
2 changes: 2 additions & 0 deletions images/node/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN DEBIAN_FRONTEND="noninteractive" apt-get update && apt-get install -y yarn

COPY deprecated.txt /etc/motd

# Set back to coder user
USER coder
7 changes: 7 additions & 0 deletions images/node/deprecated.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
##############################################################
# DEPRECATED: this image is no longer updated. #
# Please migrate to codercom/enterprise-base:ubuntu #
# or build a custom image FROM it. #
# For more information see: #
# https://github.com/coder/enterprise-images/issue/238 #
##############################################################
2 changes: 2 additions & 0 deletions images/pycharm/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ RUN curl -L "https://download.jetbrains.com/product?code=PCC&latest&distribution
# Add a binary to the PATH that points to the pycharm startup script.
RUN ln -s /opt/pycharm/bin/pycharm.sh /usr/bin/pycharm-community

COPY deprecated.txt /etc/motd

# Set back to coder user
USER coder
7 changes: 7 additions & 0 deletions images/pycharm/deprecated.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
##############################################################
# DEPRECATED: this image is no longer updated. #
# Please migrate to codercom/enterprise-base:ubuntu #
# or build a custom image FROM it. #
# For more information see: #
# https://github.com/coder/enterprise-images/issue/238 #
##############################################################
2 changes: 2 additions & 0 deletions images/ruby/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ RUN DEBIAN_FRONTEND="noninteractive" apt-get update -y && \
COPY ./install-ruby.sh /tmp
RUN chmod +x /tmp/install-ruby.sh && /tmp/install-ruby.sh

COPY deprecated.txt /etc/motd

# Set back to coder user
USER coder
7 changes: 7 additions & 0 deletions images/ruby/deprecated.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
##############################################################
# DEPRECATED: this image is no longer updated. #
# Please migrate to codercom/enterprise-base:ubuntu #
# or build a custom image FROM it. #
# For more information see: #
# https://github.com/coder/enterprise-images/issue/238 #
##############################################################
2 changes: 2 additions & 0 deletions images/rust/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ RUN /tmp/rustup.sh -y \
# Validate that cargo and rustc are available
RUN cargo --version && rustc --version

COPY deprecated.txt /etc/motd

# Set back to coder user
USER coder
7 changes: 7 additions & 0 deletions images/rust/deprecated.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
##############################################################
# DEPRECATED: this image is no longer updated. #
# Please migrate to codercom/enterprise-base:ubuntu #
# or build a custom image FROM it. #
# For more information see: #
# https://github.com/coder/enterprise-images/issue/238 #
##############################################################
2 changes: 2 additions & 0 deletions images/vnc/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ RUN $VNC_SETUP_SCRIPTS/set_user_permission.sh $VNC_ROOT_DIR \
COPY ["./coder", "/coder"]
RUN chmod +x /coder/configure

COPY deprecated.txt /etc/motd

USER coder

RUN $VNC_SETUP_SCRIPTS/no_vnc.sh
Expand Down
7 changes: 7 additions & 0 deletions images/vnc/deprecated.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
##############################################################
# DEPRECATED: this image is no longer updated. #
# Please migrate to codercom/enterprise-base:ubuntu #
# or build a custom image FROM it. #
# For more information see: #
# https://github.com/coder/enterprise-images/issue/238 #
##############################################################
2 changes: 2 additions & 0 deletions images/webstorm/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ RUN curl -L "https://download.jetbrains.com/product?code=WS&latest&distribution=
# Add a binary to the PATH that points to the webstorm startup script.
RUN ln -s /opt/webstorm/bin/webstorm.sh /usr/bin/webstorm

COPY deprecated.txt /etc/motd

# Set back to coder user
USER coder
7 changes: 7 additions & 0 deletions images/webstorm/deprecated.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
##############################################################
# DEPRECATED: this image is no longer updated. #
# Please migrate to codercom/enterprise-base:ubuntu #
# or build a custom image FROM it. #
# For more information see: #
# https://github.com/coder/enterprise-images/issue/238 #
##############################################################

0 comments on commit 7da267f

Please sign in to comment.