Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update package build readmes with new targets #3490

Merged
merged 2 commits into from
Dec 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packaging/generic-deb-integrated/debian/README.source
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
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 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 +14,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_${AGENT_VERSION}-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
```