This repository was archived by the owner on Nov 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
codespaces-linux/.devcontainer/library-scripts
elixir-phoenix-postgres/.devcontainer
go/.devcontainer/library-scripts Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ if [ "${TARGET_GO_VERSION}" != "none" ] && ! type go > /dev/null 2>&1; then
165
165
gpg -q --import /tmp/tmp-gnupg/golang_key
166
166
echo " Downloading Go ${TARGET_GO_VERSION} ..."
167
167
set +e
168
- curl -fsSL -o /tmp/go.tar.gz https://golang.org/dl/go1.177. linux-amd64 .tar.gz
168
+ curl -fsSL -o /tmp/go.tar.gz " https://golang.org/dl/go ${TARGET_GO_VERSION} . linux-${architecture} .tar.gz"
169
169
set -e
170
170
if [ ! -s " /tmp/go.tar.gz" ] || [ " $? " != " 0" ]; then
171
171
echo " (!) Download failed."
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ ARG USER_GID=$USER_UID
11
11
# Options for common package install script
12
12
ARG INSTALL_ZSH="true"
13
13
ARG UPGRADE_PACKAGES="true"
14
- ARG COMMON_SCRIPT_SOURCE="https://raw.githubusercontent.com/microsoft/vscode-dev-containers/main /script-library/common-debian.sh"
15
- ARG COMMON_SCRIPT_SHA="dev-mode "
14
+ ARG COMMON_SCRIPT_SOURCE="https://raw.githubusercontent.com/microsoft/vscode-dev-containers/v0.217.3 /script-library/common-debian.sh"
15
+ ARG COMMON_SCRIPT_SHA="d35dd1711454156c9a59cc41ebe04fbff681ca0bd304f10fd5b13285d0de13b2 "
16
16
17
17
# Optional Settings for Phoenix
18
18
ARG PHOENIX_VERSION="1.6.2"
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ ARG USER_GID=$USER_UID
11
11
# Options for common package install script
12
12
ARG INSTALL_ZSH="true"
13
13
ARG UPGRADE_PACKAGES="true"
14
- ARG COMMON_SCRIPT_SOURCE="https://raw.githubusercontent.com/microsoft/vscode-dev-containers/main /script-library/common-debian.sh"
15
- ARG COMMON_SCRIPT_SHA="dev-mode "
14
+ ARG COMMON_SCRIPT_SOURCE="https://raw.githubusercontent.com/microsoft/vscode-dev-containers/v0.217.3 /script-library/common-debian.sh"
15
+ ARG COMMON_SCRIPT_SHA="d35dd1711454156c9a59cc41ebe04fbff681ca0bd304f10fd5b13285d0de13b2 "
16
16
17
17
# Install needed packages and setup non-root user. Use a separate RUN statement to add your own dependencies.
18
18
RUN apt-get update \
Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ if [ "${TARGET_GO_VERSION}" != "none" ] && ! type go > /dev/null 2>&1; then
165
165
gpg -q --import /tmp/tmp-gnupg/golang_key
166
166
echo " Downloading Go ${TARGET_GO_VERSION} ..."
167
167
set +e
168
- curl -fsSL -o /tmp/go.tar.gz https://golang.org/dl/go1.177. linux-amd64 .tar.gz
168
+ curl -fsSL -o /tmp/go.tar.gz " https://golang.org/dl/go ${TARGET_GO_VERSION} . linux-${architecture} .tar.gz"
169
169
set -e
170
170
if [ ! -s " /tmp/go.tar.gz" ] || [ " $? " != " 0" ]; then
171
171
echo " (!) Download failed."
You can’t perform that action at this time.
0 commit comments