Changeset View
Changeset View
Standalone View
Standalone View
base-buster/Dockerfile
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | RUN --mount=type=cache,id=apt-cache,target=/var/cache/apt --mount=type=cache,id=apt-lists,target=/var/lib/apt \ | ||||
python3-venv \ | python3-venv \ | ||||
redis-server \ | redis-server \ | ||||
subversion \ | subversion \ | ||||
tini \ | tini \ | ||||
yarn \ | yarn \ | ||||
zstd && \ | zstd && \ | ||||
apt-get install -y --no-install-recommends \ | apt-get install -y --no-install-recommends \ | ||||
opam | opam | ||||
vlorentz: We may move it to swh-web eventually, though | |||||
Done Inline ActionsNot if we bundle the WASM module in swh-search data files, swh-web will serve it as static file (just a static dir to add in django settings) in order to be consumed by web-tree-sitter. anlambert: Not if we bundle the WASM module in swh-search data files, swh-web will serve it as static file… | |||||
# install emscripten required for generating tree-sitter WASM module in swh-search | |||||
RUN cd /opt && git clone https://github.com/emscripten-core/emsdk.git && cd emsdk \ | |||||
&& ./emsdk install latest && ./emsdk activate latest | |||||
ENV PATH="${PATH}:/opt/emsdk/upstream/emscripten" | |||||
## vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv ## | ## vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv ## | ||||
# inlined from https://raw.githubusercontent.com/jenkinsci/docker-slave/dde4b4483ef4fa06f436fe92247d1001af74a6dd/Dockerfile-jdk11 | # inlined from https://raw.githubusercontent.com/jenkinsci/docker-slave/dde4b4483ef4fa06f436fe92247d1001af74a6dd/Dockerfile-jdk11 | ||||
# | # | ||||
# The MIT License | # The MIT License | ||||
# | # | ||||
# Copyright (c) 2015-2019, CloudBees, Inc. and other Jenkins contributors | # Copyright (c) 2015-2019, CloudBees, Inc. and other Jenkins contributors | ||||
# | # | ||||
# Permission is hereby granted, free of charge, to any person obtaining a copy | # Permission is hereby granted, free of charge, to any person obtaining a copy | ||||
▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines |
We may move it to swh-web eventually, though