Skip to content

This project provides an isolated environment to test the AI assistant Tabnine in Eclipse.

Notifications You must be signed in to change notification settings

wolkenschieber/eclipse-tabnine

Repository files navigation

Readme

This project provides an isolated environment to test the AI assistant Tabnine in Eclipse.

Docker images are available on dockerhub:

Image Arch
wolkenschieber/eclipse-tabnine:latest amd64

Docker

Run

Background

docker run --detach \
    -e PUID=1000 \
    -e PGID=1000 \
    -e TZ=Europe/Berlin \
    -p 3000:3000 \
    -v /config \
    --name eclipse-tabnine \
    --shm-size="1gb" \
    wolkenschieber/eclipse-tabnine:latest

Diagnostic

docker run --rm -it \
    -e ECLIPSE_DEBUG=1 \
    -e PUID=1000 \
    -e PGID=1000 \
    -e TZ=Europe/Berlin \
    -p 3000:3000 \
    --name eclipse-tabnine \
    --shm-size="1gb" \
    wolkenschieber/eclipse-tabnine:latest \
    bash

Pull

docker pull wolkenschieber/eclipse-tabnine:latest

Build

docker build --tag wolkenschieber/eclipse-tabnine:latest .

Docker Compose

This project provides a sample docker-compose.yml file. The setup provides persistence.

Run

docker compose up -d

Pull

docker compose pull

Build

docker compose -f docker-compose.yml -f docker-compose.build.yml build

Proxy

The container follows default proxy environment variables:

environment:
    - "HTTP_PROXY=http://proxyhost:8080"
    - "HTTPS_PROXY=http://proxyhost:8080"      
    - "NO_PROXY=127.0.0.1"

Parameters

Parameter Function
-p 3000 Eclipse-Tabnine desktop gui.
-e PUID=1000 for UserID
-e PGID=1000 for GroupID
-e TZ=Etc/UTC specify a timezone to use
-e ECLIPSE_DEBUG=1 run Eclipse with program args -consoleLog -debug
-e ECLIPSE_RUN_AS_ROOT=1 run Eclipse as root
-v /config Users home directory in the container, stores program settings.
--shm-size= This is needed for electron applications to function properly.

Links

About

This project provides an isolated environment to test the AI assistant Tabnine in Eclipse.

Topics

Resources

Stars

Watchers

Forks