You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update example in haskell-use-cases.rst to rules_oci
rules_docker is not just deprecated, the repository is archived and read
only. Change the example in the use cases doc to be a rules_oci example.
Missing from the example is build-timestamp stamping. That isn't
sufficient reason to not update the example with the current state of
rules_docker.
Then we're ready to specify a base image built using the ``rules_nixpkgs`` ``nixpkgs_package`` rule for ``rules_docker`` to layer its products on top of ::
1114
+
Then we're ready to specify a base image built using the ``rules_nixpkgs`` ``nixpkgs_package`` rule for ``rules_oci`` to layer its products on top of ::
@@ -1131,22 +1124,16 @@ Then we're ready to specify a base image built using the ``rules_nixpkgs`` ``nix
1131
1124
""",
1132
1125
)
1133
1126
1134
-
And finally use the ``rules_docker`` ``container_load`` functionality to grab the Docker image built by the previous ``raw-haskell-base-image`` target ::
1135
-
1136
-
container_load(
1137
-
name = "haskell-base-image",
1138
-
file = "@raw-haskell-base-image//:image",
1139
-
)
1140
-
1141
1127
Step two requires that we specify our nixpkgs/haskellBaseImageDocker.nix file as follows ::
1142
1128
1143
1129
# nixpkgs is provisioned by rules_nixpkgs for us which we set to be ./default.nix
1144
1130
with import <nixpkgs> { system = "x86_64-linux"; };
1145
1131
1146
1132
# Build the base image.
1147
-
# The output of this derivation will be a Docker archive in the same format as
1133
+
# The output of this derivation will be a Docker format archive in the same format as
0 commit comments