https://github.com/kjunichi/docker-getapt
Docker image for getting files that was installed by apt-get command.
https://github.com/kjunichi/docker-getapt
Last synced: 8 months ago
JSON representation
Docker image for getting files that was installed by apt-get command.
- Host: GitHub
- URL: https://github.com/kjunichi/docker-getapt
- Owner: kjunichi
- Created: 2016-01-28T04:19:03.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-28T04:31:39.000Z (over 10 years ago)
- Last Synced: 2025-08-09T23:50:34.270Z (10 months ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-getapt
for those people who using heroku with Docker.
## Usage
### Step 1. Build kjunichi/apt image.
```bash
git clone https://github.com/kjunichi/docker-getapt.git
cd docker-getapt
docker build -t kjunichi/getapt .
```
### Step2. Use this image
You need to make Dockerfile like this:
```dockerfile
FROM kjunichi/aptget
```
write files what you want, and name it aptlist.txt.
```txt
jq
libcairo2-dev
libjpeg8-dev
libpango1.0-dev
libgif-dev
```
### Step 3. get files which was installed by apt-get command.
```bash
docker build -t files .
docker run -d -t files --name getapt
docker exec getapt cat bin.tar.bz2 > dest.tar.bz2
docker stop getapt
```