You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@texera.apache.org by li...@apache.org on 2026/05/02 07:08:41 UTC

(texera) branch xinyuan-remove-root-dockerfile created (now b7b9d233b5)

This is an automated email from the ASF dual-hosted git repository.

aglinxinyuan pushed a change to branch xinyuan-remove-root-dockerfile
in repository https://gitbox.apache.org/repos/asf/texera.git


      at b7b9d233b5 chore: remove stale root Dockerfile

This branch includes the following new commits:

     new b7b9d233b5 chore: remove stale root Dockerfile

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(texera) 01/01: chore: remove stale root Dockerfile

Posted by li...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aglinxinyuan pushed a commit to branch xinyuan-remove-root-dockerfile
in repository https://gitbox.apache.org/repos/asf/texera.git

commit b7b9d233b599b765980da251156951fbaa4435f0
Author: Xinyuan Lin <xi...@uci.edu>
AuthorDate: Sat May 2 00:08:37 2026 -0700

    chore: remove stale root Dockerfile
    
    The root Dockerfile is dead code. It still references core/gui/ (moved
    to frontend/ in #3851), core/ (renamed to common/ in #3882), and
    requirements.txt at the project root (now under amber/), so docker
    build against it fails immediately. The active image-building path is
    bin/*.dockerfile, picked up by build-and-push-images.yml and
    bin/build-images.sh, and documented in bin/README.md.
    
    Closes #4661
---
 Dockerfile | 60 ------------------------------------------------------------
 1 file changed, 60 deletions(-)

diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644
index 61dc304946..0000000000
--- a/Dockerfile
+++ /dev/null
@@ -1,60 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-FROM node:18-alpine AS nodegui
-
-WORKDIR /gui
-COPY core/gui/package.json core/gui/yarn.lock ./
-RUN corepack enable && corepack prepare yarn@4.5.1 --activate && yarn set version --yarn-path  4.5.1
-# Fake git-version.js during yarn install to prevent git from causing cache
-# invalidation of dependencies
-RUN touch git-version.js && YARN_NODE_LINKER=node-modules yarn install
-
-COPY core/gui .
-# Position of .git doesn't matter since it's only there for the revision hash
-COPY .git ./.git
-RUN apk add --no-cache git && \
-	node git-version.js && \
-	apk del git && \
-	yarn run build
-
-FROM sbtscala/scala-sbt:eclipse-temurin-jammy-11.0.17_8_1.9.3_2.13.11
-
-# copy all projects under core to /core
-WORKDIR /core
-COPY core/ .
-
-RUN apt-get update
-RUN apt-get install -y netcat unzip python3-pip
-RUN pip3 install python-lsp-server python-lsp-server[websockets]
-RUN pip3 install -r requirements.txt
-RUN pip3 install -r operator-requirements.txt
-
-WORKDIR /core
-# Add .git for runtime calls to jgit from OPversion
-COPY .git ../.git
-COPY --from=nodegui /gui/dist ./gui/dist
-
-RUN ../bin/build-services.sh
-
-CMD ["../bin/deploy-docker.sh"]
-
-EXPOSE 8080
-
-EXPOSE 9090
-
-EXPOSE 8085
\ No newline at end of file