mirror of https://github.com/artifacthub/hub.git
Fix gitpod environment (#2758)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com> Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com> Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com> Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
This commit is contained in:
parent
910d2d0b22
commit
d7bf3939ef
|
|
@ -12,7 +12,7 @@ tasks:
|
|||
- name: Backend
|
||||
init: |
|
||||
echo -e "\n- Setting up database..\n"
|
||||
cd && go get -u github.com/jackc/tern
|
||||
cd && go install github.com/jackc/tern@latest
|
||||
cd /tmp && git clone https://github.com/pgpartman/pg_partman && cd pg_partman && sudo make NO_BGW=1 install
|
||||
psql -c 'create database hub'
|
||||
cd /workspace/hub/database/migrations && TERN_CONF=/workspace/hub/.gitpod/tern.conf ./migrate.sh
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
FROM gitpod/workspace-postgres
|
||||
|
||||
RUN wget https://github.com/aquasecurity/trivy/releases/download/v0.36.1/trivy_0.36.1_Linux-64bit.deb && \
|
||||
sudo dpkg -i trivy_0.36.1_Linux-64bit.deb
|
||||
RUN sudo wget https://github.com/operator-framework/operator-registry/releases/download/v1.26.2/linux-amd64-opm -O /usr/local/bin/opm && \
|
||||
sudo chmod +x /usr/local/bin/opm
|
||||
RUN wget https://github.com/aquasecurity/trivy/releases/download/v0.36.1/trivy_0.36.1_Linux-64bit.deb \
|
||||
&& sudo dpkg -i trivy_0.36.1_Linux-64bit.deb
|
||||
RUN sudo wget https://github.com/operator-framework/operator-registry/releases/download/v1.26.2/linux-amd64-opm -O /usr/local/bin/opm \
|
||||
&& sudo chmod +x /usr/local/bin/opm
|
||||
RUN wget https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-2.11.0.tar.gz \
|
||||
&& sudo tar -C /usr/local -xzf libtensorflow-cpu-linux-x86_64-2.11.0.tar.gz \
|
||||
&& sudo ldconfig /usr/local/lib
|
||||
|
|
|
|||
|
|
@ -12,3 +12,14 @@ server:
|
|||
shutdownTimeout: 10s
|
||||
webBuildPath: ../../web/build
|
||||
widgetBuildPath: ../../widget/build
|
||||
theme:
|
||||
colors:
|
||||
primary: "#417598"
|
||||
secondary: "#2D4857"
|
||||
images:
|
||||
appleTouchIcon192: "/static/media/logo192_v2.png"
|
||||
appleTouchIcon512: "/static/media/logo512_v2.png"
|
||||
openGraphImage: "/static/media/artifactHub_v2.png"
|
||||
shortcutIcon: "/static/media/logo_v2.png"
|
||||
websiteLogo: "/static/media/logo/artifacthub-brand-white.svg"
|
||||
siteName: "Artifact Hub"
|
||||
|
|
|
|||
|
|
@ -14,3 +14,4 @@ tracker:
|
|||
repositoriesNames: []
|
||||
repositoriesKinds: []
|
||||
bypassDigestCheck: false
|
||||
categoryModelPath: ../../ml/category/model
|
||||
|
|
|
|||
Loading…
Reference in New Issue