File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -31,15 +31,14 @@ resource "null_resource" "lambda_build" {
31
31
provisioner "local-exec" {
32
32
# Build the Lambda function
33
33
command = <<- COMMAND
34
- adduser _apt --force-badname;
35
34
apt update;
36
- apt install -y --no-install-recommends \
37
- docker \
38
- apt-transport-https \
39
- ca-certificates \
40
- curl \
41
- gnupg \
42
- lsb-release;
35
+ apt-get upgrade -y --fix-missing;
36
+ apt install -y --no-install-recommends docker;
37
+ apt install -y --no-install-recommends apt-transport-https;
38
+ apt install -y --no-install-recommends ca-certificates;
39
+ apt install -y --no-install-recommends curl;
40
+ apt install -y --no-install-recommends gnupg;
41
+ apt install -y --no-install-recommends lsb-release;
43
42
usermod -aG docker $${USER};
44
43
mkdir -p ${ local . lambda_output_path } ;
45
44
docker run --rm \
You can’t perform that action at this time.
0 commit comments