Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
HCI Theme
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HCI-Development
HCI Theme
Commits
495153d9
Commit
495153d9
authored
May 11, 2020
by
Andreas Knote
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dockerfile: upgrade to Ubuntu 20.04 LTS
parent
13796294
Pipeline
#22668
passed with stage
in 14 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
18 deletions
+33
-18
Dockerfile
Dockerfile
+33
-18
No files found.
Dockerfile
View file @
495153d9
FROM
ubuntu:
bionic
FROM
ubuntu:
focal AS nodejs_base
LABEL
maintainer="
JP Stauffert
"
LABEL
maintainer="
andreas.knote@uni-wuerzburg.de
"
RUN
apt-get update
&&
apt-get
install
-y
curl
&&
\
# set noninteractive installation
ENV
DEBIAN_FRONTEND noninteractive
RUN
apt-get update
&&
apt-get upgrade
&&
\
apt-get
install
-y
\
curl ssh git-lfs build-essential locales
RUN
apt-get update
&&
\
curl
-sL
https://deb.nodesource.com/setup_13.x | bash -
&&
\
apt-get update
&&
apt-get
install
-y
\
nodejs
\
imagemagick
\
ruby-full build-essential zlib1g-dev
\
git-lfs ssh locales
&&
\
apt-get
install
-y
nodejs
&&
\
echo
'Node: '
&&
\
node
-v
&&
\
echo
'NPM: '
&&
\
npm
-v
FROM
nodejs_base AS ruby_jekyll
RUN
apt-get update
&&
\
apt-get
install
-y
\
ruby-full zlib1g-dev
&&
\
echo
'# Install Ruby Gems to ~/gems'
>>
~/.bashrc
&&
\
echo
'export GEM_HOME="$HOME/gems"'
>>
~/.bashrc
&&
\
echo
'export PATH="$HOME/gems/bin:$PATH"'
>>
~/.bashrc
&&
\
gem update
--system
&&
\
gem
install
jekyll bundler jekyll-redirect-from
&&
\
echo
'Node: '
&&
\
node
-v
&&
\
echo
'NPM: '
&&
\
npm
-v
&&
\
echo
'jekyll: '
&&
\
jekyll
-v
&&
\
echo
'gem: '
&&
\
gem
-v
&&
\
echo
'nodejs: '
&&
\
nodejs
-v
&&
\
locale-gen en_US.UTF-8
&&
\
gem
-v
RUN
locale-gen en_US.UTF-8
&&
\
dpkg-reconfigure
--frontend
=
noninteractive locales
&&
\
update-locale
LANG
=
"en_US.UTF-8"
LANGUAGE
=
"en_US"
LC_CTYPE
=
"en_US.UTF-8"
LC_NUMERIC
=
"en_US.UTF-8"
LC_TIME
=
"en_US.UTF-8"
LC_COLLATE
=
"en_US.UTF-8"
LC_MONETARY
=
"en_US.UTF-8"
LC_MESSAGES
=
"en_US.UTF-8"
LC_PAPER
=
"en_US.UTF-8"
LC_NAME
=
"en_US.UTF-8"
LC_ADDRESS
=
"en_US.UTF-8"
LC_TELEPHONE
=
"en_US.UTF-8"
LC_MEASUREMENT
=
"en_US.UTF-8"
LC_IDENTIFICATION
=
"en_US.UTF-8"
LC_ALL
=
"en_US.UTF-8"
&&
\
dpkg-reconfigure
--frontend
=
noninteractive locales
ENV
LANG en_US.UTF-8
ENV
LC_ALL en_US.UTF-8
FROM
ruby_jekyll AS image_resize
RUN
apt-get update
&&
apt-get
install
-y
\
imagemagick
FROM
image_resize AS hci_theme
## Start prebuilding
COPY
package.json /
RUN
npm
install
--only
=
dev
...
...
@@ -39,4 +54,4 @@ RUN gem install bundler
RUN
bundle
install
RUN
rake
RUN
rm
-rf
node_modules
RUN
rm
package-lock.json
\ No newline at end of file
RUN
rm
package-lock.json
Write
Preview
Markdown
is supported
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