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
IT-division Public
dockerimages
ubuntufpm
Commits
c9725df4
Commit
c9725df4
authored
Apr 28, 2020
by
Ingar Smedstad
Browse files
initial release
parents
Pipeline
#12403
passed with stage
in 1 minute and 53 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
c9725df4
image
:
docker:19.03.1
stages
:
-
build
before_script
:
-
echo -n $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY
build
:
stage
:
build
script
:
-
docker pull $CI_REGISTRY_IMAGE:latest ||
true
-
docker build --cache-from $CI_REGISTRY_IMAGE:latest
--tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --tag $CI_REGISTRY_IMAGE:latest .
-
docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
-
docker push $CI_REGISTRY_IMAGE:latest
Dockerfile
0 → 100644
View file @
c9725df4
FROM
ubuntu:bionic
RUN
apt-get update
\
&&
apt-get dist-upgrade
-y
\
&&
apt-get
install
-y
ruby ruby-dev rubygems build-essential
\
&&
gem
install
--no-document
fpm
\
README.md
0 → 100644
View file @
c9725df4
# ubuntufpm
docker image for building packages with fpm, based on Ubuntu Bionic.
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