Skip to content
Snippets Groups Projects
Commit 504b221c authored by Christopher Guindon's avatar Christopher Guindon
Browse files

fix docker build .


Signed-off-by: Christopher Guindon's avatarChristopher Guindon <chris.guindon@eclipse-foundation.org>
parent 842bba8c
No related branches found
No related tags found
No related merge requests found
sudo: true
dist: trusty
language: node_js
node_js:
- "10"
- "12"
install:
- sudo apt-get --yes install autoconf libtool nasm
- npm install
- wget https://github.com/gohugoio/hugo/releases/download/v0.54.0/hugo_0.54.0_Linux-64bit.deb
- sudo dpkg -i hugo*.deb
script:
- npm run production
- hugo
cache:
directories:
- node_modules
deploy:
local-dir: public
repo: EclipseFdn/openmobility.eclipse.org
......
......@@ -7,13 +7,10 @@ ARG NODE_VERSION=10.15.0
ENV NODE_VERSION="${NODE_VERSION}"
RUN apt-get update && apt-get install -y \
autoconf \
build-essential \
ca-certificates \
curl \
git \
libtool \
nasm \
--no-install-recommends
RUN curl -L -o /tmp/node.tar.xz "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz" \
......@@ -29,7 +26,7 @@ RUN curl -L -o /tmp/hugo.deb "https://github.com/gohugoio/hugo/releases/download
WORKDIR /workdir
COPY . /workdir/
RUN npm install \
RUN npm ci \
&& npm run production \
&& hugo
......
This diff is collapsed.
......@@ -20,6 +20,10 @@
},
"readmeFilename": "README.md",
"dependencies": {
"eclipsefdn-hugo-solstice-theme": "0.0.18"
"eclipsefdn-hugo-solstice-theme": "0.0.18",
"eclipsefdn-solstice-assets": "0.0.52"
},
"dependenciesComments": {
"eclipsefdn-solstice-assets": "remove after the next update of eclipsefdn-hugo-solstice-theme,"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment