Skip to content

Commit

Permalink
update package build readmes with new targets
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekchaudhry committed Nov 23, 2022
1 parent 06008fa commit c4f7ee9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
7 changes: 4 additions & 3 deletions packaging/generic-deb-integrated/debian/README.source
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
Steps to build and install package:

1. Install build dependencies
sudo apt-get update -y && sudo apt-get install -y devscripts build-essential lintian git curl golang-go debhelper
sudo apt-get update -y && sudo apt-get install -y make dpkg-dev wget devscripts debhelper

2. Build the package by running
make clean deb
make clean
make generic-deb-integrated

3. Install docker
sudo apt-get install docker.io -y # or via docker repos: https://docs.docker.com/engine/install/
Expand All @@ -14,7 +15,7 @@ Steps to build and install package:
https://docs.aws.amazon.com/efs/latest/ug/installing-amazon-efs-utils.html#installing-other-distro

5. Install the package with
sudo apt install -y ./amazon-ecs-init_1.45.0-1_amd64.deb
sudo apt install -y ./amazon-ecs-init_1.66.2-1_amd64.deb

6. Install docker and start and enable ecs service
sudo systemctl enable --now ecs
Expand Down
13 changes: 2 additions & 11 deletions packaging/generic-rpm-integrated/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,11 @@

* Install build and install dependencies
```
rpm-build make golang-go gcc git wget rpmdevtools
```
* Download the latest agent
```
curl -O https://s3.amazonaws.com/amazon-ecs-agent/ecs-agent-v${VERSION}.tar
```
or
```
curl -O https://s3.amazonaws.com/amazon-ecs-agent/ecs-agent-arm64-v${VERSION}.tar
rpm-build make gcc git wget rpmdevtools
```
* Build the package by running
```
make generic-rpm
make generic-rpm-integrated
```
* Install docker via docker repos: https://docs.docker.com/engine/install/
* Install the package using built `.rpm` file from previous step
Expand All @@ -27,4 +19,3 @@
```
sudo systemctl enable --now amazon-ecs-volume-plugin
```

0 comments on commit c4f7ee9

Please sign in to comment.