Skip to content

Instantly share code, notes, and snippets.

@ccchanza
ccchanza / bytebase
Last active December 12, 2025 03:24
FROM node:25.2.1
RUN apt-get update
RUN apt-get install -y ca-certificates curl
ENV GOLANG_VERSION=1.25.0
ENV GOROOT=/usr/local/go
ENV PATH=$GOROOT/bin:$PATH
RUN curl -fsSL "https://go.dev/dl/go${GOLANG_VERSION}.linux-amd64.tar.gz" -o go.tar.gz && tar -C /usr/local -xzf go.tar.gz && rm go.tar.gz
docker tag dbeaver/cloudbeaver:dev ccchanza/cloudbeaver:1.0.0-dev.3
@ccchanza
ccchanza / init.sh
Created November 13, 2025 01:32
init
git config --global user.name "ccchanza"
git config --global user.email "ccchanza@tsmc.com"
git config --global credential.helper 'cache --timeout=86400'
git clone -b build-ci https://github.com/ccchanza/dbeaver.git
git clone -b build-ci https://github.com/ccchanza/cloudbeaver.git
git clone https://github.com/dbeaver/dbeaver-jdbc-libsql.git
git clone -b build-ci https://github.com/ccchanza/dbeaver-common.git
git clone -b build-ci https://github.com/ccchanza/dbeaver-deps-ce.git
git clone https://github.com/dbeaver/dbeaver-osgi-common.git
FROM maven:3.9.11-eclipse-temurin-21
#!/bin/bash
git config --global user.email "ccchanza@tsmc.com"
git config --global user.name "ccchanza"
# cache git credential for 1 week.
git config --global credential.helper "cache --timeout=604800"
# github CLI
which gh && exists=1 || exists=0