try create a database
This commit is contained in:
1 parent
0908e51791
commit
792fa60030
19 files changed
+112
-22
No files matched your search
+7
-6
@@ -7,9 +7,9 @@ RUN apt-get update
|
||||
# pgroonga extension
|
||||
# Does not officially support alpine
|
||||
RUN apt-get install -y curl
|
||||
RUN curl -O https://packages.groonga.org/debian/groonga-apt-source-latest-buster.deb
|
||||
RUN apt-get install -y ./groonga-apt-source-latest-buster.deb
|
||||
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list
|
||||
RUN curl -O https://packages.groonga.org/debian/groonga-apt-source-latest-bullseye.deb
|
||||
RUN apt-get install -y ./groonga-apt-source-latest-bullseye.deb
|
||||
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list
|
||||
RUN curl -sSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y postgresql-12-pgdg-pgroonga
|
||||
@@ -25,14 +25,15 @@ RUN cd postgres-json-schema && make install
|
||||
# nodejs14
|
||||
# Install nodejs 14
|
||||
WORKDIR /app
|
||||
RUN apt-get install -y dirmngr apt-transport-https lsb-release ca-certificates jq
|
||||
RUN apt-get install -y dirmngr apt-transport-https lsb-release ca-certificates
|
||||
RUN curl -sSL https://deb.nodesource.com/setup_14.x | bash -
|
||||
RUN apt-get install -y nodejs gcc g++ make
|
||||
|
||||
RUN npm i -g yarn
|
||||
RUN yarn
|
||||
COPY package.json yarn.lock ./
|
||||
RUN yarn --frozen-lockfile
|
||||
# COPY . .
|
||||
COPY . .
|
||||
# RUN yarn build
|
||||
# RUN jq 'del(.devDependencies)' package.json > tmp.json && mv tmp.json package.json
|
||||
# RUN node -e 'const pkg=require("./package.json");delete pkg.devDependencies;require("fs").writeFileSync("package.json",JSON.stringify(pkg))'
|
||||
# RUN yarn --frozen-lockfile
|
||||
Reference in new issue
Block a user