Skip to content

Commit 4fcc044

Browse files
author
Graham Krizek
committed
Adding in executables
1 parent 9dab38a commit 4fcc044

File tree

11 files changed

+67
-16
lines changed

11 files changed

+67
-16
lines changed

bin/curl

172 KB
Binary file not shown.

bin/git

1.97 MB
Binary file not shown.

bin/gunzip

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
#!/bin/sh
2+
# Uncompress files. This is the inverse of gzip.
3+
4+
# Copyright (C) 2007 Free Software Foundation
5+
6+
# This program is free software; you can redistribute it and/or modify
7+
# it under the terms of the GNU General Public License as published by
8+
# the Free Software Foundation; either version 3 of the License, or
9+
# (at your option) any later version.
10+
11+
# This program is distributed in the hope that it will be useful,
12+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
# GNU General Public License for more details.
15+
16+
# You should have received a copy of the GNU General Public License along
17+
# with this program; if not, write to the Free Software Foundation, Inc.,
18+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19+
20+
bindir='/usr/bin'
21+
case $1 in
22+
--__bindir) bindir=${2?}; shift; shift;;
23+
esac
24+
PATH=$bindir:$PATH
25+
26+
version="gunzip (gzip) 1.5
27+
Copyright (C) 2007, 2011-2012 Free Software Foundation, Inc.
28+
This is free software. You may redistribute copies of it under the terms of
29+
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
30+
There is NO WARRANTY, to the extent permitted by law.
31+
32+
Written by Paul Eggert."
33+
34+
usage="Usage: $0 [OPTION]... [FILE]...
35+
Uncompress FILEs (by default, in-place).
36+
37+
Mandatory arguments to long options are mandatory for short options too.
38+
39+
-c, --stdout write on standard output, keep original files unchanged
40+
-f, --force force overwrite of output file and compress links
41+
-l, --list list compressed file contents
42+
-n, --no-name do not save or restore the original name and time stamp
43+
-N, --name save or restore the original name and time stamp
44+
-q, --quiet suppress all warnings
45+
-r, --recursive operate recursively on directories
46+
-S, --suffix=SUF use suffix SUF on compressed files
47+
-t, --test test compressed file integrity
48+
-v, --verbose verbose mode
49+
--help display this help and exit
50+
--version display version information and exit
51+
52+
With no FILE, or when FILE is -, read standard input.
53+
54+
Report bugs to <bug-gzip@gnu.org>."
55+
56+
case $1 in
57+
--help) exec echo "$usage";;
58+
--version) exec echo "$version";;
59+
esac
60+
61+
exec gzip -d "$@"

bin/gzip

91.4 KB
Binary file not shown.

bin/jq

3.77 MB
Binary file not shown.

bin/tar

337 KB
Binary file not shown.

bin/unzip

175 KB
Binary file not shown.

bin/wget

443 KB
Binary file not shown.

bin/zip

208 KB
Binary file not shown.

bootstrap

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
set -uo pipefail
44

@@ -45,6 +45,8 @@ do
4545
RESPONSE="$(mktemp)"
4646
EVENT_DATA=$(curl -sS -LD "$HEADERS" -X GET "http://${AWS_LAMBDA_RUNTIME_API}/${RUNTIME_PATH}/invocation/next")
4747
REQUEST_ID=$(grep -Fi Lambda-Runtime-Aws-Request-Id "$HEADERS" | tr -d '[:space:]' | cut -d: -f2)
48+
# Workaround until this is a layer
49+
export PATH=$PATH:/var/task/bin
4850
$(echo "$_HANDLER" | cut -d. -f2) "$EVENT_DATA" >&1 2> $RESPONSE | cat
4951
EXIT_CODE=$?
5052
if [[ $EXIT_CODE -eq "0" ]]; then

0 commit comments

Comments
 (0)