More agnostic

master
Meliurwen 3 years ago
parent a5cb198a19
commit 53ff94a5c4
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 9
      Dockerfile
  2. 7
      launch.sh
  3. 11
      src/build.sh
  4. 0
      src/deploy.sh
  5. 7
      src/main.sh

@ -0,0 +1,9 @@
FROM debian:sid-slim
COPY ./src /srv/build
WORKDIR /srv/build
VOLUME ["/srv/build/repo/incoming"]
ENTRYPOINT ["./main.sh"]

@ -0,0 +1,7 @@
#!/bin/sh
set -e
docker build -t vscodium .
docker run --rm -v /srv/incoming:/srv/build/repo/incoming vscodium
docker image rm vscodium

@ -5,11 +5,11 @@
apt-get update
apt-get -qq -y --no-install-recommends install curl jq ca-certificates git g++ gcc make clang wget xz-utils python sudo
mkdir build_node
cd build_node/
cd build_node/ || exit
wget https://nodejs.org/dist/v12.14.1/node-v12.14.1.tar.xz
tar xf node-v12.14.1.tar.xz
mv node-v12.14.1 node
cd node
cd node || exit
./configure
make -j4
make install
@ -18,10 +18,7 @@ node --version
apt-get -y --no-install-recommends install git jq imagemagick curl build-essential pkg-config libx11-dev libxkbfile-dev libsecret-1-dev fakeroot rpm
npm install yarn --global
cd ..
cd .. || exit
git clone https://github.com/VSCodium/vscodium.git
cd vscodium/
cd vscodium/ || exit
./build/build_linux.sh
cd..
./deploy.sh vscodium/.build/linux/deb/amd64/deb repo/incoming .ready

@ -0,0 +1,7 @@
#!/bin/sh
#set -e
./build.sh
./deploy.sh vscodium/.build/linux/deb/amd64/deb repo/incoming .ready
Loading…
Cancel
Save