Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
Somi Singh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
Show more breadcrumbs
Somi Singh
Somi Singh
Commits
21ac4fe0
Commit
21ac4fe0
authored
7 years ago
by
Achilleas Pipinellis
Browse files
Options
Downloads
Patches
Plain Diff
Fix Dockerfile
parent
9cf351ed
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+3
-3
3 additions, 3 deletions
Dockerfile
with
3 additions
and
3 deletions
Dockerfile
+
3
−
3
View file @
21ac4fe0
...
...
@@ -6,9 +6,9 @@ ENV HUGO_SHA fbf8ca850aaaaad331f5b40bbbe8e797115dab296a8486a53c0561f253ca7b00
# Install HUGO
RUN
set
-x
&&
\
apk add
--update
openssl ca-certificates git
&&
\
wget
-O
${
HUGO_VERSION
}
.tar.gz https://github.com/spf13/hugo/releases/download/v
${
HUGO_VERSION
}
/hugo_
${
HUGO_VERSION
}
_Linux-64bit.tar.gz
echo "${HUGO_SHA} ${HUGO_VERSION}.tar.gz" | sha256sum -c
tar xf ${HUGO_VERSION}.tar.gz && mv hugo* /usr/bin/hugo
wget
-O
${
HUGO_VERSION
}
.tar.gz https://github.com/spf13/hugo/releases/download/v
${
HUGO_VERSION
}
/hugo_
${
HUGO_VERSION
}
_Linux-64bit.tar.gz
&&
\
echo
"
${
HUGO_SHA
}
${
HUGO_VERSION
}
.tar.gz"
|
sha256sum
-c
&&
\
tar
xf
${
HUGO_VERSION
}
.tar.gz
&&
mv
hugo
*
/usr/bin/hugo
&&
\
rm
-r
${
HUGO_VERSION
}
.tar.gz
&&
\
rm
/var/cache/apk/
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment