-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Dockerfile: change to debian commands * docker.yml: run on docker branch too * Dockerfile: update apt-get packages for debian * Dockerfile: linux-headers-amd64 * Dockefile: apt-get install -y * Dockerfile: Fix order * Dockerfile: Fix whitespace issue * Dockerfile: add tag label * Docker.yml: update metadata-action * Dockerfile: add unit tests * Dockerfile: cargo build debug target * Dockerfile: install bc
- Loading branch information
Showing
2 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,23 +12,27 @@ LABEL license="https://github.com/lskatz/fasten/LICENSE" | |
LABEL maintainer="Lee Katz" | ||
LABEL maintainer.email="[email protected]" | ||
LABEL maintainer2="John Phan" | ||
LABEL tag="${SOFTWARE_VER}" | ||
|
||
RUN apk update | ||
RUN apk add --no-cache \ | ||
RUN apt-get update | ||
RUN apt-get install -y \ | ||
ca-certificates \ | ||
build-base \ | ||
linux-headers \ | ||
linux-headers-amd64 \ | ||
git \ | ||
openssl-dev \ | ||
util-linux-dev \ | ||
bc \ | ||
libcurl4-openssl-dev \ | ||
libseccomp-dev | ||
|
||
RUN mkdir -p /usr/src/app \ | ||
&& cd /usr/src/app \ | ||
&& git clone https://github.com/lskatz/fasten \ | ||
&& cd /usr/src/app/fasten \ | ||
&& git checkout v${SOFTWARE_VER} | ||
RUN cd /usr/src/app/fasten && cargo build --release | ||
|
||
RUN cd /usr/src/app/fasten \ | ||
&& cargo build \ | ||
&& (set -ex; for i in tests/fasten*.sh; do bash $i; done;) | ||
|
||
# build final container | ||
|
||
|