Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
HCI-Development
HCI Theme
Commits
915b3144
Commit
915b3144
authored
May 11, 2020
by
Andreas Knote
Browse files
Dockerfile: simplify theme build process, ensure consistent environment with bundle exec
parent
2997d1ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
915b3144
...
...
@@ -46,12 +46,11 @@ RUN apt-get update && apt-get install -y \
FROM
image_resize
AS
hci_theme
## Start prebuilding
COPY
package.json /
RUN
npm
install
--only
=
dev
## Build Theme from source
## Installs the built gem system-wide
COPY
. /
RUN
gem
install
bundler
RUN
bundle
install
RUN
rake
RUN
rm
-rf
node_modules
RUN
rm
package-lock.json
RUN
bundle
install
&&
\
bundle
exec
rake gem
&&
\
gem
install
hci-theme.gem
&&
\
rm
-rf
node_modules
&&
\
rm
package-lock.json
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment