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 --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
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
docker pull wolkenschieber/eclipse-tabnine:latest
docker build --tag wolkenschieber/eclipse-tabnine:latest .
This project provides a sample docker-compose.yml file. The setup provides persistence.
docker compose up -d
docker compose pull
docker compose -f docker-compose.yml -f docker-compose.build.yml build
The container follows default proxy environment variables:
environment:
- "HTTP_PROXY=http://proxyhost:8080"
- "HTTPS_PROXY=http://proxyhost:8080"
- "NO_PROXY=127.0.0.1"
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. |