Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gitlab_ci_container
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
steamhaus
gitlab_ci_container
Commits
6119f272
Commit
6119f272
authored
Mar 29, 2017
by
A-Gordon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed amicleaner install method
parent
bb0889fe
Pipeline
#1524
passed with stage
in 3 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
Dockerfile
Dockerfile
+8
-5
No files found.
Dockerfile
View file @
6119f272
FROM
centos:latest
MAINTAINER
Steamhaus <tech@steamhaus.co.uk>
ENV
PACKER_
URL https://releases.hashicorp.com/packer/0.10.1/packer_0.10.1_linux_amd64.zip
ENV
PACKER_
VERSION 0.12.3
ENV
AMICLEANER_VERSION 0.1.2
ENV
PACKER_URL https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_amd64.zip
RUN
yum
install
-y
git wget epel-release ansible unzip ruby
\
&&
wget https://bootstrap.pypa.io/get-pip.py
\
&&
python get-pip.py
\
&&
yum update
-y
\
&&
wget
${
PACKER_URL
}
\
&&
unzip packer_
0.10.1
_linux_amd64.zip
\
&&
unzip packer_
${
PACKER_VERSION
}
_linux_amd64.zip
\
&&
mv
packer /usr/local/bin/packer
\
&&
wget https://github.com/bonclay7/aws-amicleaner/archive/v
${
AMICLEANER_VERSION
}
.zip
\
&&
unzip v
${
AMICLEANER_VERSION
}
.zip
\
&&
chmod
755 aws-amicleaner-0.1.2/amicleaner/cli.py
\
&&
pip
install
-r
aws-amicleaner-0.1.2/requirements.txt
\
&&
ln
-s
/aws-amicleaner-0.1.2/amicleaner/cli.py /usr/local/bin/amicleaner
&&
chmod
755 aws-amicleaner-
${
AMICLEANER_VERSION
}
/amicleaner/cli.py
\
&&
pip
install
-r
aws-amicleaner-
${
AMICLEANER_VERSION
}
/requirements.txt
\
&&
pip
install
aws-amicleaner
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